-BEGIN PGP SIGNED MESSAGE-
Hello Sean,
Monday, August 27, 2001, 11:09:17 PM, you wrote:
vadddomain(domain, pwdata-pw_dir, pwdata-pw_uid, pwdata-pw_gid);
you could avoid the call to getpwnam by using the constants defined
in vpopmail_config.h:
vadddomain(domain, VPOPMAILDIR,
-BEGIN PGP SIGNED MESSAGE-
ld -shared -L/home/vpopmail/include -lvpopmail -lcrypt \
vpopmailpython.o vpopmailpython_wrap.o -o vpopmail.so
How can I get ld to build something as shared library but still
link libvpopmail.a statically into it? I think ld thinks it can
ignore
all
-BEGIN PGP SIGNED MESSAGE-
Hello,
I'm trying to write a Python module (I'm lazy, so I'm using SWIG)
that
can interface with libvpopmail but I haven't got much look so far
cause
I'm unclear about the arguments needed for vadddomain().
According to the docs, it should be:
int vadddomain(
According to the docs, it should be:
int vadddomain( char *domain)
domain = the new virtual domain
but it is
int vadddomain( char *domain, char *dir, int uid, int gid);
so what are the dir, uid and gid params for (I suppose the first is
the dir (like test.com for test.com) to be