email.h

00001 /*
00002  * email.h
00003  */
00004 
00005 #ifndef __LIBNFSNAPI_EMAIL_H__
00006 #define __LIBNFSNAPI_EMAIL_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_email_t;
00025 
00033 libnfsnapi_email_t *libnfsnapi_email_create(libnfsnapi_mgr_t *mgr,
00034                                                 const char *domain);
00039 void libnfsnapi_email_destroy(libnfsnapi_email_t *email);
00051 int libnfsnapi_email_setForward(libnfsnapi_email_t *email, const char *forward,
00052                                 const char *dest_email);
00061 int libnfsnapi_email_removeForward(libnfsnapi_email_t *email,
00062                                         const char *forward);
00063 
00066 #endif /* __LIBNFSNAPI_EMAIL_H__ */

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