messaging: Declare well known server name auth_events as AUTH_EVENT_NAME in IDL
authorAndrew Bartlett <abartlet@samba.org>
Mon, 13 Mar 2017 23:37:15 +0000 (12:37 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 Mar 2017 07:23:11 +0000 (09:23 +0200)
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>
librpc/idl/messaging.idl

index 2a94eeee93b17b32ff255cc4f136592155c10ee8..b962ab17be2fbf1833c69ae738c42c770e2d6c78 100644 (file)
@@ -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";
 }