summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-11-09 13:11:52 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-12-03 10:41:28 -0500
commit1709edfb690bb4ffa4b96c64d08853f47390eda3 (patch)
treebf07e7bbe85e6ff86639153b7783d4ed750760ac /src/util
parentd2d23847f879712d6e191134018a8bff70a5e2ab (diff)
downloadsssd-1709edfb690bb4ffa4b96c64d08853f47390eda3.tar.gz
sssd-1709edfb690bb4ffa4b96c64d08853f47390eda3.tar.bz2
sssd-1709edfb690bb4ffa4b96c64d08853f47390eda3.zip
krb5_child returns TGT lifetime
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h
index e4806949..12d3ff0a 100644
--- a/src/util/util.h
+++ b/src/util/util.h
@@ -185,6 +185,12 @@ safealign_memcpy(void *dest, const void *src, size_t n, size_t *counter)
safealign_memcpy(dest, &CV_MACRO_val, sizeof(type), pctr); \
} while(0)
+#define SAFEALIGN_COPY_INT64(dest, src, pctr) \
+ safealign_memcpy(dest, src, sizeof(int64_t), pctr)
+
+#define SAFEALIGN_SET_INT64(dest, value, pctr) \
+ SAFEALIGN_SET_VALUE(dest, value, int64_t, pctr)
+
#define SAFEALIGN_COPY_UINT32(dest, src, pctr) \
safealign_memcpy(dest, src, sizeof(uint32_t), pctr)