lib: Fix server_id_from_string
[Samba.git] / librpc / idl / fsrvp_state.idl
blob9fcec121b2ccd5747876d544358db487b0b8f404
1 #include "idl_types.h"
3 pointer_default(unique)
5 interface fsrvp_state
7 /* database format version, NOT the FSRVP protocol version */
8 const uint32 FSRVP_STATE_DB_VERSION = 1;
11 * These data structures describe the FSRVP server on-disk format. Any
12 * changes should result in a new DB version number, and corresponding
13 * upgrade function.
15 typedef [public] struct {
16 [flag(STR_UTF8|STR_NULLTERM)] string share_name;
17 [flag(STR_UTF8|STR_NULLTERM)] string sc_share_name;
18 [flag(STR_UTF8|STR_NULLTERM)] string sc_share_comment;
19 boolean32 is_exposed;
20 } fsrvp_state_smap;
22 typedef [public] struct {
23 [flag(STR_UTF8|STR_NULLTERM)] string id_str;
24 [flag(STR_UTF8|STR_NULLTERM)] string volume_name;
25 [flag(STR_UTF8|STR_NULLTERM)] string sc_path;
26 time_t create_ts;
27 int smaps_count;
28 } fsrvp_state_sc;
30 typedef [public] struct {
31 [flag(STR_UTF8|STR_NULLTERM)] string id_str;
32 int state;
33 int context;
34 int scs_count;
35 } fsrvp_state_sc_set;