summaryrefslogtreecommitdiff
path: root/src/mm-utils.h
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-09-12 13:06:40 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-09-14 07:05:26 +0200
commita66f971a7cdea4bf1d9f6390e12f950f41ee5595 (patch)
tree91134bf4d00ffd509a8b7112effe2525342cfb88 /src/mm-utils.h
parentfbe01c8d6a22cb95ff74ddefc907e663cdeee710 (diff)
downloadModemManager-a66f971a7cdea4bf1d9f6390e12f950f41ee5595.tar.gz
libmm-common: added common utils from core
Moved the utils to play with binary to hex strings into libmm-common.
Diffstat (limited to 'src/mm-utils.h')
-rw-r--r--src/mm-utils.h28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/mm-utils.h b/src/mm-utils.h
deleted file mode 100644
index be77f8a84..000000000
--- a/src/mm-utils.h
+++ /dev/null
@@ -1,28 +0,0 @@
-/* -*- 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);
-
-char *utils_bin2hexstr (const guint8 *bin, gsize len);
-
-gboolean utils_check_for_single_value (guint32 value);
-
-#endif /* MM_UTILS_H */
-