diff options
author | Benny Prijono <bennylp@teluu.com> | 2005-11-20 19:55:42 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2005-11-20 19:55:42 +0000 |
commit | a605c06e12510600a67aaa86ea349037f613e53d (patch) | |
tree | cb001ad89f212ffaf6985eadc673230ccd25d7b9 /pjlib/src/pj/ctype.c | |
parent | 66864977389a1a59bf7a5d38fcd62559190bb93e (diff) |
Added hex character conversion utility in ctype
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@62 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pj/ctype.c')
-rw-r--r-- | pjlib/src/pj/ctype.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pjlib/src/pj/ctype.c b/pjlib/src/pj/ctype.c new file mode 100644 index 00000000..b274ccaf --- /dev/null +++ b/pjlib/src/pj/ctype.c @@ -0,0 +1,24 @@ +/* $Id: $ */
+/*
+ * Copyright (C)2003-2006 Benny Prijono <benny@prijono.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+#include <pj/ctype.h>
+
+
+char pj_hex_digits[] = {'0', '1', '2', '3', '4', '5', '6', '7',
+ '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' };
+
|