summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/Makefile.am2
-rw-r--r--include/numbers.h12
2 files changed, 13 insertions, 1 deletions
diff --git a/include/Makefile.am b/include/Makefile.am
index eeda5cf..99bae25 100644
--- a/include/Makefile.am
+++ b/include/Makefile.am
@@ -1 +1 @@
-include_HEADERS = PCommon.h PLList.h FHeap.h BHeap.h BinHeap.h CList.h SList.h PTypes.h Huffman.h
+include_HEADERS = PCommon.h PLList.h FHeap.h BHeap.h BinHeap.h CList.h SList.h PTypes.h Huffman.h numbers.h
diff --git a/include/numbers.h b/include/numbers.h
new file mode 100644
index 0000000..6eba30d
--- /dev/null
+++ b/include/numbers.h
@@ -0,0 +1,12 @@
+#ifndef __NUMBERS_H__
+#define __NUMBERS_H__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+int char_to_number(char * st, int * valid);
+#ifdef __cplusplus
+}
+#endif
+
+#endif \ No newline at end of file