diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
commit | 4f5791ebd03eaec1c7da0865a383175b05102712 (patch) | |
tree | 8ce7b00f7a76baa386372422adebbe64510812d4 /librpc/idl/fsrvp_state.idl | |
parent | Initial commit. (diff) | |
download | samba-upstream.tar.xz samba-upstream.zip |
Adding upstream version 2:4.17.12+dfsg.upstream/2%4.17.12+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'librpc/idl/fsrvp_state.idl')
-rw-r--r-- | librpc/idl/fsrvp_state.idl | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/librpc/idl/fsrvp_state.idl b/librpc/idl/fsrvp_state.idl new file mode 100644 index 0000000..9fcec12 --- /dev/null +++ b/librpc/idl/fsrvp_state.idl @@ -0,0 +1,36 @@ +#include "idl_types.h" +[ + pointer_default(unique) +] +interface fsrvp_state +{ + /* database format version, NOT the FSRVP protocol version */ + const uint32 FSRVP_STATE_DB_VERSION = 1; + + /* + * These data structures describe the FSRVP server on-disk format. Any + * changes should result in a new DB version number, and corresponding + * upgrade function. + */ + typedef [public] struct { + [flag(STR_UTF8|STR_NULLTERM)] string share_name; + [flag(STR_UTF8|STR_NULLTERM)] string sc_share_name; + [flag(STR_UTF8|STR_NULLTERM)] string sc_share_comment; + boolean32 is_exposed; + } fsrvp_state_smap; + + typedef [public] struct { + [flag(STR_UTF8|STR_NULLTERM)] string id_str; + [flag(STR_UTF8|STR_NULLTERM)] string volume_name; + [flag(STR_UTF8|STR_NULLTERM)] string sc_path; + time_t create_ts; + int smaps_count; + } fsrvp_state_sc; + + typedef [public] struct { + [flag(STR_UTF8|STR_NULLTERM)] string id_str; + int state; + int context; + int scs_count; + } fsrvp_state_sc_set; +} |