Nilorea Library
C utilities for networking, threading, graphics
n_base64.h
Go to the documentation of this file.
1
8#ifndef __N_BASE64_H
9#define __N_BASE64_H
10
11#ifdef __cplusplus
12extern "C"
13{
14#endif
15
21#include <stdlib.h>
22#include <memory.h>
23#include "nilorea/n_str.h"
24
25bool n_isupper( char c );
26bool n_islower( char c );
27bool n_isalpha( char c );
28char n_toupper( char c );
29char n_tolower( char c );
30
31N_STR *n_base64_encode( N_STR *string );
32N_STR *n_base64_decode( N_STR *bufcoded );
33
38#ifdef __cplusplus
39}
40#endif
41/* #ifndef __N_BASE64_H */
42#endif
char n_tolower(char c)
is_alpha
Definition: n_base64.c:140
N_STR * n_base64_decode(N_STR *bufcoded)
decode a N_STR *string
Definition: n_base64.c:174
bool n_isupper(char c)
test if char c is uppercase
Definition: n_base64.c:90
char n_toupper(char c)
is_alpha
Definition: n_base64.c:126
bool n_islower(char c)
test if char c is lowercase
Definition: n_base64.c:102
bool n_isalpha(char c)
is_alpha
Definition: n_base64.c:114
N_STR * n_base64_encode(N_STR *string)
encode a N_STR *string
Definition: n_base64.c:249
A box including a string and his lenght.
Definition: n_str.h:173
N_STR and string function declaration.