IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 7, 2005, 12:57:40 PM (21 years ago)
Author:
jhoblitt
Message:

make as many char * params const as possible
minor source reorganization

File:
1 edited

Legend:

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

    r4506 r4507  
    44 * Copyright (C) 2005  Joshua Hoblitt
    55 *
    6  * $Id: nebclient.h,v 1.14 2005-07-07 22:47:40 jhoblitt Exp $
     6 * $Id: nebclient.h,v 1.15 2005-07-07 22:57:40 jhoblitt Exp $
    77 */
    88
     
    1414
    1515typedef enum { NEB_READ, NEB_WRITE } rw;
     16
    1617typedef struct {
    1718    struct soap     *soap;
     
    2021}nebServer;
    2122
    22 //void nebServerInit(nebServer *server);
    2323nebServer *nebServerAlloc(void);
    2424
    2525void nebServerCleanup(nebServer *server);
    2626
    27 int nebCreate(nebServer *server, char *key, unsigned int class, char *volume, char *comment, char **URI);
     27int nebCreate(nebServer *server, const char *key, unsigned int class, const char *volume, const char *comment, char **URI);
    2828
    2929bool nebReplicate(nebServer *server, const char *key, const char *volume, char **URI);
     
    3131bool nebCull(nebServer *server, const char *key);
    3232
    33 int nebLock(nebServer *server, char *key, rw flag);
     33int nebLock(nebServer *server, const char *key, rw flag);
    3434
    35 int nebUnlock(nebServer *server, char *key, rw flag);
     35int nebUnlock(nebServer *server, const char *key, rw flag);
    3636
    37 int nebFindInstances(nebServer *server, char *key, char *volume, char ***locations);
     37int nebFindInstances(nebServer *server, const char *key, const char *volume, char ***locations);
    3838
    39 int nebFind(nebServer *server, char *key);
     39int nebFind(nebServer *server, const char *key);
    4040
    4141int nebOpen(nebServer *server, const char *key, rw flag);
     
    4343bool nebDelete(nebServer *server, const char *key);
    4444
    45 int nebCopy(nebServer *server, char *key, char *newKey);
     45int nebCopy(nebServer *server, const char *key, const char *newKey);
    4646
    47 int nebMove(nebServer *server, char *key, char *newKey);
     47int nebMove(nebServer *server, const char *key, const char *newKey);
    4848
    4949bool nebDeleteInstance(nebServer *server, const char *URI);
    5050
    51 int nebStat(nebServer *server, char *key);
     51int nebStat(nebServer *server, const char *key);
    5252
    5353char *nebErr(nebServer *server);
Note: See TracChangeset for help on using the changeset viewer.