summaryrefslogtreecommitdiffstats
path: root/util.h
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2011-12-21 21:54:03 +0100
committerPaulK <contact@paulk.fr>2011-12-21 21:54:03 +0100
commit0091ceae5f7cbeeb42e3b43de3dcf8e500fe8752 (patch)
treedff5b107e7c51dcbb71d636fd6189d3570881a39 /util.h
parentcb295e0a15c8bc5087a542f25bc369aecbecde80 (diff)
downloadhardware_replicant_libsamsung-ril-0091ceae5f7cbeeb42e3b43de3dcf8e500fe8752.tar.gz
hardware_replicant_libsamsung-ril-0091ceae5f7cbeeb42e3b43de3dcf8e500fe8752.tar.bz2
hardware_replicant_libsamsung-ril-0091ceae5f7cbeeb42e3b43de3dcf8e500fe8752.zip
RIL rework: multi-client, more stable, added GPLv3 copyright notice
Diffstat (limited to 'util.h')
-rw-r--r--util.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/util.h b/util.h
index b72e35a..34c4cd5 100644
--- a/util.h
+++ b/util.h
@@ -1,2 +1,28 @@
+/**
+ * This file is part of samsung-ril.
+ *
+ * Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com>
+ *
+ * samsung-ril 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 3 of the License, or
+ * (at your option) any later version.
+ *
+ * samsung-ril 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 samsung-ril. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+#ifndef _SAMSUNG_RIL_UTIL_H_
+#define _SAMSUNG_RIL_UTIL_H_
+
void bin2hex(const unsigned char *data, int length, char *buf);
void hex2bin(const char *data, int length, unsigned char *buf);
+void hex_dump(void *data, int size);
+
+#endif