File: urlparse.h

package info (click to toggle)
xshipwars 1.32-5
  • links: PTS
  • area: main
  • in suites: potato
  • size: 17,176 kB
  • ctags: 6,357
  • sloc: ansic: 157,152; makefile: 226; sh: 75
file content (24 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef URLPARSE_H
#define URLPARSE_H


/*
 *      Network limits (not ANSI C standard, but BSD standard).
 */   
#ifndef HOST_NAME_MAX
# define HOST_NAME_MAX          128
#endif

#ifndef MAX_URL_LEN
# define MAX_URL_LEN            1024
#endif

extern char *StringParseProtocol(char *url);
extern char *StringParseName(char *url);
extern char *StringParsePassword(char *url);
extern char *StringParseAddress(char *url);
extern int StringParsePort(char *url);



#endif /* URLPARSE_H */