1 #ifndef __TOOL_CPIGE_H 2 #define __TOOL_CPIGE_H 3 4 typedef struct serverSettings_t 5 { 6 unsigned int port; 7 char *serverAddr; 8 char *mountpoint; 9 } serverSettings_t; 10 11 void *memory_allocation(int size); 12 13 serverSettings_t *parseURL(const char *url); 14 void printServSettings(serverSettings_t *set); 15 int stripcolon(const char *from, char *to); 16 void stripBadChar(const char *from, char *to); 17 18 #endif 19