site.h

00001 /*
00002  * site.h
00003  */
00004 
00005 #ifndef __LIBNFSNAPI_SITE_H__
00006 #define __LIBNFSNAPI_SITE_H__
00007 
00014 #include "mgr.h"
00015 
00017 typedef struct {
00018 #ifdef LIBNFSNAPI_BUILDING_LIB
00019         /* Opaque! Don't touch anything here! */
00020         libnfsnapi_mgr_t *mgr;
00021 
00022         char *short_name;
00023 #endif
00024 } libnfsnapi_site_t;
00025 
00035 libnfsnapi_site_t *libnfsnapi_site_create(libnfsnapi_mgr_t *mgr,
00036                                                 const char *short_name);
00041 void libnfsnapi_site_destroy(libnfsnapi_site_t *site);
00050 int libnfsnapi_site_addAlias(libnfsnapi_site_t *site, const char *alias);
00059 int libnfsnapi_site_removeAlias(libnfsnapi_site_t *site, const char *alias);
00060 
00063 #endif /* __LIBNFSNAPI_SITE_H__ */

Generated on Sat Jan 13 17:42:28 2007 for libNFSNapi by  doxygen 1.4.6