summaryrefslogtreecommitdiff
path: root/lib/header_internal.h
diff options
context:
space:
mode:
authorJindrich Novy <jnovy@redhat.com>2008-06-06 15:03:19 +0200
committerJindrich Novy <jnovy@redhat.com>2008-06-06 15:03:19 +0200
commit49dfc587d5b356551d646e40d575378a737c331f (patch)
treefe9073765b0dc625f6bb60f601d2b012a48a07ea /lib/header_internal.h
parent56a8f9d90811cf6afc5a2cbbfff561d572f44307 (diff)
downloadlibrpm-tizen-49dfc587d5b356551d646e40d575378a737c331f.tar.gz
librpm-tizen-49dfc587d5b356551d646e40d575378a737c331f.tar.bz2
librpm-tizen-49dfc587d5b356551d646e40d575378a737c331f.zip
Introduce htonll()
Diffstat (limited to 'lib/header_internal.h')
-rw-r--r--lib/header_internal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/header_internal.h b/lib/header_internal.h
index f679ae7b0..3aaeca8d6 100644
--- a/lib/header_internal.h
+++ b/lib/header_internal.h
@@ -94,6 +94,14 @@ extern "C" {
#endif
/** \ingroup header
+ * Conver a 64bit value to network byte order.
+ * @param n a number
+ * @return number in network byte order
+ */
+uint64_t htonll( uint64_t n );
+
+char ** headerGetLangs(Header h);
+/** \ingroup header
* Return array of locales found in header.
* The array is terminated with a NULL sentinel.
* @param h header