diff options
author | Jindrich Novy <jnovy@redhat.com> | 2008-06-06 15:03:19 +0200 |
---|---|---|
committer | Jindrich Novy <jnovy@redhat.com> | 2008-06-06 15:03:19 +0200 |
commit | 49dfc587d5b356551d646e40d575378a737c331f (patch) | |
tree | fe9073765b0dc625f6bb60f601d2b012a48a07ea /lib/header_internal.h | |
parent | 56a8f9d90811cf6afc5a2cbbfff561d572f44307 (diff) | |
download | librpm-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.h | 8 |
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 |