Index: trunk/Nebulous/nebclient/idataclient.h
===================================================================
--- trunk/Nebulous/nebclient/idataclient.h	(revision 2923)
+++ trunk/Nebulous/nebclient/idataclient.h	(revision 2934)
@@ -1,16 +1,50 @@
+/*
+ * idataclient -  idata client
+ * 
+ * Copyright (C) 2005  Joshua Hoblitt
+ *
+ * $Id: idataclient.h,v 1.2 2005-01-08 00:57:59 jhoblitt Exp $
+ */
+
+#include "soapH.h"
+
 typedef enum { ID_READ, ID_WRITE } rw;
+typedef struct soap idataServer;
 
-char *idCreate( const char *key, const unsigned int class, const char *volume, const char *comment, char *URI );
-int idReplicate( const char *key, const char *volume, char *URI );
-int idCull( const char *key );
-int idLock( const char *key, rw flag );
-int idUnlock( const char *key, rw flag );
-int idFindInstances( const char *key, const char *volume );
-int idFind( const char *key );
-int idOpen( const char *key, rw flag );
-int idDelete( const char *key );
-int idCopy( const char *key, const char *newKey );
-int idMove( const char *key, const char *newKey );
-int idDelete_instance( const char *URI );
-int idStat( const char *key );
-int idErr( char *errString );
+void idataServerInit(idataServer *server);
+
+char *idataServerErr(idataServer *server);
+
+void idataServerCleanup(idataServer *server);
+
+int idataCreate(idataServer *server, char *key, unsigned int class, char *volume, char *comment, char **URI);
+
+int idataReplicate(idataServer *server, char *key, char *volume, char **URI);
+
+int idataCull(idataServer *server, char *key);
+
+int idataLock(idataServer *server, char *key, rw flag);
+
+int idataUnlock(idataServer *server, char *key, rw flag);
+
+int idataFindInstances(idataServer *server, char *key, char *volume);
+
+int idataFind(idataServer *server, char *key);
+
+int idataOpen(idataServer *server, char *key, rw flag);
+
+int idataDelete(idataServer *server, char *key);
+
+int idataCopy(idataServer *server, char *key, char *newKey);
+
+int idataMove(idataServer *server, char *key, char *newKey);
+
+int idataDelete_instance(idataServer *server, char *URI);
+
+int idataStat(idataServer *server, char *key);
+
+int idataErr(idataServer *server, char *errString);
+
+int idataParseURI(const char *URI, char **filename);
+
+void idataFree(void *ptr);
