Mercurial > hg > nginx-quic
comparison src/core/ngx_string.h @ 409:8ac40cae79f0
nginx-0.0.10-2004-08-29-07:55:41 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Sun, 29 Aug 2004 03:55:41 +0000 |
parents | d6e2b445c1b8 |
children | da8c5707af39 |
comparison
equal
deleted
inserted
replaced
408:d6e2b445c1b8 | 409:8ac40cae79f0 |
---|---|
69 ngx_int_t ngx_atoi(u_char *line, size_t n); | 69 ngx_int_t ngx_atoi(u_char *line, size_t n); |
70 ngx_int_t ngx_hextoi(u_char *line, size_t n); | 70 ngx_int_t ngx_hextoi(u_char *line, size_t n); |
71 | 71 |
72 void ngx_md5_text(u_char *text, u_char *md5); | 72 void ngx_md5_text(u_char *text, u_char *md5); |
73 | 73 |
74 ngx_int_t ngx_encode_base64(ngx_pool_t *pool, ngx_str_t *src, ngx_str_t *dst); | 74 |
75 ngx_int_t ngx_decode_base64(ngx_pool_t *pool, ngx_str_t *src, ngx_str_t *dst); | 75 #define ngx_base64_encoded_length(len) (((len + 2) / 3) * 4) |
76 #define ngx_base64_decoded_length(len) (((len + 3) / 4) * 3) | |
77 | |
78 void ngx_encode_base64(ngx_str_t *src, ngx_str_t *dst); | |
79 ngx_int_t ngx_decode_base64(ngx_str_t *src, ngx_str_t *dst); | |
76 | 80 |
77 | 81 |
78 #define ngx_qsort qsort | 82 #define ngx_qsort qsort |
79 | 83 |
80 | 84 |