diff options
author | Andrew Bartlett <abartlet@samba.org> | 2017-03-14 12:37:15 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2017-03-28 09:23:11 +0200 |
commit | a3c9ad53a2543525092e78697af9816b94281960 (patch) | |
tree | 961b70d7e9b6fcf8903ecef901457e3600503440 /librpc | |
parent | 6e87aa38c4daf40f089915fd5e40e97076d35aa2 (diff) | |
download | samba-a3c9ad53a2543525092e78697af9816b94281960.tar.gz |
messaging: Declare well known server name auth_events as AUTH_EVENT_NAME in IDL
This makes it easy to ensure we use the same name in the python and the C
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'librpc')
-rw-r--r-- | librpc/idl/messaging.idl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/librpc/idl/messaging.idl b/librpc/idl/messaging.idl index 2a94eeee93b..b962ab17be2 100644 --- a/librpc/idl/messaging.idl +++ b/librpc/idl/messaging.idl @@ -173,4 +173,7 @@ interface messaging uint32 num_recs; messaging_rec *recs[num_recs]; } messaging_reclog; + + /* This allows this well known service name to be referenced in python and C */ + const string AUTH_EVENT_NAME = "auth_event"; } |