1 /* Text Functions Definitions 2 $Revision: 1.2 $ 3 $Date: 2002/06/13 07:00:33 $ 4 */ 5 6 #ifndef __TEXT_H__ 7 #define __TEXT_H__ 8 9 #define GNW_START 0 10 #define GNW_NEXT 1 11 #define GNW_REST -1 12 13 char *getnextword(char *text, int state); 14 char *ftp_strip_illegal(char *text); 15 int parseurl(char *url, struct ftpconnection *connection); 16 char *getpassword(char *username); 17 char *expand_home(char *s); 18 char *strupper(char *string); 19 char *strlower(char *string); 20 char *getpath(const char *path); 21 char *getfilename(char *path); 22 23 #endif 24 25