// url_decode.h

#ifndef URL_DECODE_H
#define URL_DECODE_H

// Decodes the URL encoded string s. Note that the URL scheme is not removed.
// Caller must 'delete' the return value once it is no longer needed.
//
// s must be null-terminated and must be a valid URL escaped string. If not
// expect undefined behaviors as in segfaults and the like.
char *url_decode(const char *s);

#endif

