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.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user