Commit a44a86a8 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed Makefiles for parser

parent 4d5e8596
bctoolboxdir=$(includedir)/bctoolbox
bctoolbox_HEADERS=tester.h crypto.h map.h list.h port.h logging.h vfs.h vconnect.h exception.hh
bctoolbox_HEADERS=tester.h crypto.h map.h list.h port.h logging.h vfs.h vconnect.h exception.hh parser.h
EXTRA_DIST=$(bctoolbox_HEADERS)
......@@ -19,6 +19,8 @@
#ifndef BCTBX_PARSER_H_
#define BCTBX_PARSER_H_
#include "port.h"
#ifdef __cplusplus
extern "C"
{
......@@ -35,7 +37,7 @@ typedef unsigned char bctbx_noescape_rules_t[256+1]; /*last entry (BCTBX_NOESCA
* sample:
* bctbx_noescape_rules_t my_rules = {0}; nothing allowed
* bctbx_noescape_rules_add_alfanums(my_rules);
* char * my_escaped_string = bctbx_escape(my_rules,"François");
* char * my_escaped_string = bctbx_escape("François",my_rules);
* expeted result my_escaped_string == Fran%c3%a7ois
* @param buff NULL terminated input buffer.
* @param noescape_rules bctbx_noescape_rules_t to apply for this input buff
......
......@@ -8,7 +8,8 @@ libbctoolbox_la_SOURCES= vconnect.c \
utils/exception.cc \
logging/logging.c \
containers/list.c \
containers/map.cc
containers/map.cc \
parser.c
if ENABLE_POLARSSL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment