"Fossies" - the Fresh Open Source Software Archive 
Member "tlswrap-1.04/parse.h" (25 Nov 2006, 601 Bytes) of package /linux/privat/old/tlswrap-1.04.tar.gz:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style:
standard) with prefixed line numbers and
code folding option.
Alternatively you can here
view or
download the uninterpreted source code file.
For more information about "parse.h" see the
Fossies "Dox" file reference documentation.
1 #ifndef __PARSE_H__
2 #define __PARSE_H__
3 #include <sys/types.h>
4 #include "tlswrap.h"
5
6 int parse_buf(struct user_data *, int, int, char *);
7 int parse_serv_buf(struct user_data *, int, char *, char *);
8 int change_serv_buf( struct user_data *ud, char *buf);
9 void intercept_user_buf(struct user_data *ud, char *buf, ssize_t *len);
10 int pasv_to_ipport(char *buf, char *ip, int iplen, unsigned int *port);
11 void ipport_to_pasv(char *buf, int len, const char *ip, unsigned int port);
12 void open_local_dataport(struct user_data *ud);
13 int port_to_ipport(char *buf, char *ip, int iplen, unsigned int *port);
14 #endif