diff options
author | Dan Williams <dcbw@redhat.com> | 2011-02-11 16:43:03 -0600 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2011-02-11 16:43:03 -0600 |
commit | 2e2b4373eb638c2f274fff16110f77d6e3ea4456 (patch) | |
tree | cb16a6d614cd0328cc5b3fb34e10494b3c8402e6 /src/nm-manager-auth.h | |
parent | 016c56078d5bc57d5e75035537401ab964314225 (diff) |
core: add ulong data helpers to NMAuthChain
Otherwise callers would have to do the work themselves to ensure that
the top 32 bits of the ulong didn't get chopped off on 32-bit
platorms.
Diffstat (limited to 'src/nm-manager-auth.h')
-rw-r--r-- | src/nm-manager-auth.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/nm-manager-auth.h b/src/nm-manager-auth.h index 473eacd0..7e7ff7a1 100644 --- a/src/nm-manager-auth.h +++ b/src/nm-manager-auth.h @@ -85,6 +85,12 @@ void nm_auth_chain_set_data (NMAuthChain *chain, gpointer data, GDestroyNotify data_destroy); +void nm_auth_chain_set_data_ulong (NMAuthChain *chain, + const char *tag, + gulong data); + +gulong nm_auth_chain_get_data_ulong (NMAuthChain *chain, const char *tag); + NMAuthCallResult nm_auth_chain_get_result (NMAuthChain *chain, const char *permission); |