dns.h

00001 /*
00002  * dns.h
00003  */
00004 
00005 #ifndef __LIBNFSNAPI_DNS_H__
00006 #define __LIBNFSNAPI_DNS_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 *domain;
00023 #endif
00024 } libnfsnapi_dns_t;
00025 
00033 libnfsnapi_dns_t *libnfsnapi_dns_create(libnfsnapi_mgr_t *mgr,
00034                                                 const char *domain);
00039 void libnfsnapi_dns_destroy(libnfsnapi_dns_t *dns);
00047 int libnfsnapi_dns_minTTL(libnfsnapi_dns_t *dns);
00048 
00051 #endif /* __LIBNFSNAPI_DNS_H__ */

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