[Pkg-voip-commits] [bctoolbox] 35/60: Fixed Makefiles for parser
Bernhard Schmidt
berni at moszumanska.debian.org
Sun Oct 15 22:42:26 UTC 2017
This is an automated email from the git hooks/post-receive script.
berni pushed a commit to branch debian/sid
in repository bctoolbox.
commit a44a86a83cc3271ff65d146534cd6e49c76fd38e
Author: Sylvain Berfini <sylvain.berfini at belledonne-communications.com>
Date: Fri May 12 14:17:36 2017 +0200
Fixed Makefiles for parser
---
include/bctoolbox/Makefile.am | 2 +-
include/bctoolbox/parser.h | 4 +++-
src/Makefile.am | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/include/bctoolbox/Makefile.am b/include/bctoolbox/Makefile.am
index 6424f98..4f7c099 100644
--- a/include/bctoolbox/Makefile.am
+++ b/include/bctoolbox/Makefile.am
@@ -1,5 +1,5 @@
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)
diff --git a/include/bctoolbox/parser.h b/include/bctoolbox/parser.h
index e7f41c2..1305b8e 100644
--- a/include/bctoolbox/parser.h
+++ b/include/bctoolbox/parser.h
@@ -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
diff --git a/src/Makefile.am b/src/Makefile.am
index aad1f52..a119068 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/bctoolbox.git
More information about the Pkg-voip-commits
mailing list