aboutsummaryrefslogtreecommitdiff
path: root/include/magi/urlenc.h
blob: 10fee1d0d82c8b9464aff6f315e2f1a0d6d0afdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef MAGI_INCLUDED_URLENC
#define MAGI_INCLUDED_URLENC
/** @file urlenc.h
 * @brief Realisation of url-encoding.
 *
 * Can be helpful in forming urls in response.
 */


/* 'code' from urlenc must have size of at least magi_urlenc_size(plain). */
int  magi_urlenc_size(const char *plain);
void magi_urlenc(const char *plain, char *code);


#endif