IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 16, 2008, 1:53:01 PM (18 years ago)
Author:
jhoblitt
Message:

add nebclient:nebSetXattr()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/src/nebclient.h

    r20110 r20209  
    44 * Copyright (C) 2005  Joshua Hoblitt
    55 *
    6  * $Id: nebclient.h,v 1.33 2008-10-13 22:11:09 jhoblitt Exp $
     6 * $Id: nebclient.h,v 1.34 2008-10-16 23:53:01 jhoblitt Exp $
    77 */
    88
     
    2020
    2121typedef enum { NEB_READ, NEB_WRITE } nebRW;
     22typedef enum { NEB_CREATE, NEB_REPLACE } nebCR;
    2223
    2324/** Represents a "connection" to a Nebulous server
     
    142143);
    143144
     145/** Set an Xattr on a storage object
     146 *
     147 * @return true on success
     148 */
     149bool nebSetXattr(
     150    nebServer *server,                  ///< nebServer object
     151    const char *key,                    ///< storage object key (name)
     152    const char *name,                   ///< xattr name
     153    const char *value,                  ///< xattr value
     154    nebCR flag                          ///< flag: "create"|"replace"
     155);
     156
    144157/** Lists all instances of a storage object
    145158 *
Note: See TracChangeset for help on using the changeset viewer.