main.c File Reference

#include <w3client.h>
#include <w3uri.h>
#include <w3types.h>
#include <w3string.h>
#include <w3smtp.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Defines

#define W3HELPTEXT

Functions

int main2 (int argc, char *argv[])

Define Documentation

#define W3HELPTEXT
 

Value:

{\
    printf("Usage: \t\t%s get <full path of file> <destination file> <port number>\n",argv[0]);\
    printf("or\n \t\t%s mail <mailfile>\n",argv[0]);\
    printf("\t<mailfile> must be a file consisting of the first four \n\t\tlines as recipient, sender, mailhost, portnumber, followed by the message body.\n");\
    printf("\t<full path of file> must be of the form my.host.address/some_path/file.extension.\n");\
    printf("\t\tNote that no protocol definition is allowed so far.\n");\
}


Function Documentation

int main2 int  argc,
char *  argv[]
 


Generated on Thu Jul 6 15:37:31 2006 for w3server by  doxygen 1.4.6