IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 1, 2009, 2:29:20 PM (17 years ago)
Author:
jhoblitt
Message:

add nebChmod()

File:
1 edited

Legend:

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

    r23935 r24289  
    1111#ifndef NEBCLIENT_H
    1212#define NEBCLIENT_H 1
     13
     14// #include <sys/stat.h>
    1315
    1416#ifdef __cplusplus
     
    296298);
    297299
     300/** Change permissions of a storage objects
     301 *
     302 * This function will change the file permissions of all currently on disk
     303 * instances of a storage object.
     304 *
     305 * @return the new mode or NULL on failure.
     306 */
     307
     308int nebChmod(
     309    nebServer *server,                  ///< nebServer object
     310    const char *key,                    /// storage object key (name)
     311    mode_t mode                         /// chmod(2) compatible mode (mode_t)
     312);
     313
    298314/** Returns the error message from the last nebclient function that failed.
    299315 *
Note: See TracChangeset for help on using the changeset viewer.