diff options
author | Sumit Bose <sbose@redhat.com> | 2010-11-09 13:11:52 +0100 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-12-03 10:41:28 -0500 |
commit | 1709edfb690bb4ffa4b96c64d08853f47390eda3 (patch) | |
tree | bf07e7bbe85e6ff86639153b7783d4ed750760ac /src/util/util.h | |
parent | d2d23847f879712d6e191134018a8bff70a5e2ab (diff) | |
download | sssd-1709edfb690bb4ffa4b96c64d08853f47390eda3.tar.gz sssd-1709edfb690bb4ffa4b96c64d08853f47390eda3.tar.xz sssd-1709edfb690bb4ffa4b96c64d08853f47390eda3.zip |
krb5_child returns TGT lifetime
Diffstat (limited to 'src/util/util.h')
-rw-r--r-- | src/util/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/util/util.h b/src/util/util.h index e48069495..12d3ff0a5 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) |