comparison stream/http.h @ 23689:3f0d00abc073

Do not use leading underscores in multiple inclusion guards, they are reserved.
author diego
date Mon, 02 Jul 2007 22:34:45 +0000
parents 64d82a45a05d
children 4129c8cfa742
comparison
equal deleted inserted replaced
23688:3454aed9d083 23689:3f0d00abc073
2 * HTTP Helper 2 * HTTP Helper
3 * by Bertrand Baudet <bertrand_baudet@yahoo.com> 3 * by Bertrand Baudet <bertrand_baudet@yahoo.com>
4 * (C) 2001, MPlayer team. 4 * (C) 2001, MPlayer team.
5 */ 5 */
6 6
7 #ifndef __HTTP_H 7 #ifndef HTTP_H
8 #define __HTTP_H 8 #define HTTP_H
9 9
10 typedef struct HTTP_field_type { 10 typedef struct HTTP_field_type {
11 char *field_name; 11 char *field_name;
12 struct HTTP_field_type *next; 12 struct HTTP_field_type *next;
13 } HTTP_field_t; 13 } HTTP_field_t;
47 int http_add_basic_authentication( HTTP_header_t *http_hdr, const char *username, const char *password ); 47 int http_add_basic_authentication( HTTP_header_t *http_hdr, const char *username, const char *password );
48 48
49 void http_debug_hdr( HTTP_header_t *http_hdr ); 49 void http_debug_hdr( HTTP_header_t *http_hdr );
50 50
51 int base64_encode(const void *enc, int encLen, char *out, int outMax); 51 int base64_encode(const void *enc, int encLen, char *out, int outMax);
52 #endif // __HTTP_H 52 #endif /* HTTP_H */