aboutsummaryrefslogtreecommitdiff
path: root/src/mm-utils.h
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2010-06-24 11:09:33 -0700
committerDan Williams <dcbw@redhat.com>2010-06-24 11:09:33 -0700
commit6e79d153efc30fb2030536f7f795c19ad4a0661a (patch)
tree963a5d6ad150a88a2a8ab6d994d79d539e19383a /src/mm-utils.h
parent72a1a6caf67a15655ade8dc5eed4f94f86107171 (diff)
parent5fc9f259e253fc32510eca8fbd42416706fe0db6 (diff)
Merge remote branch 'origin/master' into creg
Diffstat (limited to 'src/mm-utils.h')
-rw-r--r--src/mm-utils.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/mm-utils.h b/src/mm-utils.h
new file mode 100644
index 00000000..79e7827b
--- /dev/null
+++ b/src/mm-utils.h
@@ -0,0 +1,24 @@
+/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * 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:
+ *
+ * Copyright (C) 2010 Red Hat, Inc.
+ */
+
+#ifndef MM_UTILS_H
+#define MM_UTILS_H
+
+int utils_hex2byte (const char *hex);
+
+char *utils_hexstr2bin (const char *hex, gsize *out_len);
+
+#endif /* MM_UTILS_H */
+