File: urlencode.h

package info (click to toggle)
kdenetwork 4%3A4.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 45,248 kB
  • sloc: cpp: 305,470; ansic: 50,902; xml: 2,141; lex: 1,735; python: 290; sh: 287; perl: 125; tcl: 49; makefile: 29; ruby: 28
file content (12 lines) | stat: -rw-r--r-- 298 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef _URLENCODE_H_
#define _URLENCODE_H_ 

#include <string>

int UrlDecode(const char *source, char *dest);
int UrlEncode(const char *source, char *dest, unsigned max);
std::string UrlDecodeString(const std::string & encoded);
std::string UrlEncodeString(const std::string & decoded);

#endif