IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 7, 2005, 2:57:59 PM (22 years ago)
Author:
jhoblitt
Message:

add idataServer* idataParseURI idataFree functions
idataCreate is now working

File:
1 edited

Legend:

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

    r2923 r2934  
     1/*
     2 * idataclient -  idata client
     3 *
     4 * Copyright (C) 2005  Joshua Hoblitt
     5 *
     6 * $Id: idataclient.h,v 1.2 2005-01-08 00:57:59 jhoblitt Exp $
     7 */
     8
     9#include "soapH.h"
     10
    111typedef enum { ID_READ, ID_WRITE } rw;
     12typedef struct soap idataServer;
    213
    3 char *idCreate( const char *key, const unsigned int class, const char *volume, const char *comment, char *URI );
    4 int idReplicate( const char *key, const char *volume, char *URI );
    5 int idCull( const char *key );
    6 int idLock( const char *key, rw flag );
    7 int idUnlock( const char *key, rw flag );
    8 int idFindInstances( const char *key, const char *volume );
    9 int idFind( const char *key );
    10 int idOpen( const char *key, rw flag );
    11 int idDelete( const char *key );
    12 int idCopy( const char *key, const char *newKey );
    13 int idMove( const char *key, const char *newKey );
    14 int idDelete_instance( const char *URI );
    15 int idStat( const char *key );
    16 int idErr( char *errString );
     14void idataServerInit(idataServer *server);
     15
     16char *idataServerErr(idataServer *server);
     17
     18void idataServerCleanup(idataServer *server);
     19
     20int idataCreate(idataServer *server, char *key, unsigned int class, char *volume, char *comment, char **URI);
     21
     22int idataReplicate(idataServer *server, char *key, char *volume, char **URI);
     23
     24int idataCull(idataServer *server, char *key);
     25
     26int idataLock(idataServer *server, char *key, rw flag);
     27
     28int idataUnlock(idataServer *server, char *key, rw flag);
     29
     30int idataFindInstances(idataServer *server, char *key, char *volume);
     31
     32int idataFind(idataServer *server, char *key);
     33
     34int idataOpen(idataServer *server, char *key, rw flag);
     35
     36int idataDelete(idataServer *server, char *key);
     37
     38int idataCopy(idataServer *server, char *key, char *newKey);
     39
     40int idataMove(idataServer *server, char *key, char *newKey);
     41
     42int idataDelete_instance(idataServer *server, char *URI);
     43
     44int idataStat(idataServer *server, char *key);
     45
     46int idataErr(idataServer *server, char *errString);
     47
     48int idataParseURI(const char *URI, char **filename);
     49
     50void idataFree(void *ptr);
Note: See TracChangeset for help on using the changeset viewer.