> r = fetch_smtproutes(host.ptr); OK, my ignorance of C is showing here. If I'm going to call fetch_smtproutes in esmtp.c, how do I need to declare it in smtproutes.c and smtproutes.h to make this work?
I changed the declaration in smtproutes.c from "static char *fetch_smtproutes(const char *domain)" to "char *fetch_smtproutes(const char *domain)" then added extern char *fetch_smtproutes(const char *): to smtproutes.h and finally added #include "smtproutes.h" to esmtp.c And I got... an error: "esmtp.o(.text+0x673): undefined reference to `fetch_smtproutes' " So what am I doing wrong. I haven't coded in C in over 10 years, so be gentle, please. :-) Jeff Jansen ------------------------------------------------------- This SF.net email is sponsored by: Scholarships for Techies! Can't afford IT training? All 2003 ictp students receive scholarships. Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more. www.ictp.com/training/sourceforge.asp _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
