Re: API Question

2001-02-06 Thread Cliff To
>>int vadddomain( char *domain, char *dir, int uid, int gid); >>what does dir denote? >>is it the domain's main directory? Not the ~vpopmail/domains directory but ~vpopmail/domains/yourdomain.com After checking vpopmail.c: if ( chdir(dir) != 0 ) { return(VA_BAD_V_DIR); } if ( chdir(VPOPMAI

API Question

2001-02-06 Thread Tim Hassan
The function in vpopmail.h version 4.9.8: int vadddomain( char *domain, char *dir, int uid, int gid); what does dir denote? is it the domain's main directory? for example, if my code was like: ret = vadddomain(dom, something, VPOPMAILUID, VPOPMAILGID); what should I have instead of "somet