[vchkpw] vpopmail.h function vauth_user

2004-11-29 Thread Ferdinand Hackl
hi there, i try to write a program ( see below ) to provide a command line tool for checking a userĀ“s pwd with vpopmails function vauth_user. I am a C noob so i am confused why vauth_user raise an undefinde reference error when i include vpopmail.h - Do i have to use another vpopmail function for

Re: [vchkpw] vpopmail.h function vauth_user

2004-11-29 Thread Tom Collins
On Nov 29, 2004, at 4:29 AM, Ferdinand Hackl wrote: gcc vauth.c -o vauth You need to include the libraries: gcc -Wall -o auth auth.c `cat /home/vpopmail/etc/lib_deps` #include /home/vpopmail/include/vpopmail.h #include /home/vpopmail/include/vauth.h You don't need to include vauth.h. The path to