mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
r10504: - seperate implementation specific stuff, from the generic composite
stuff.
- don't use SMBCLI_REQUEST_* state's in the genreic composite stuff
- move monitor_fn to libnet.
NOTE: I have maybe found some bugs, in code that is dirrectly in DONE or ERROR
state in the _send() function. I haven't fixed this bugs in this
commit! We may need some composite_trigger_*() functions or so.
And maybe some other generic helper functions...
metze
(This used to be commit 4527815a0a
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
0d46be147a
commit
ab4d635b92
@ -24,6 +24,25 @@
|
||||
|
||||
#include "librpc/gen_ndr/ndr_samr.h"
|
||||
|
||||
/*
|
||||
* Monitor structure and message types definitions. Composite function monitoring
|
||||
* allows client application to be notified on function progress. This enables
|
||||
* eg. gui client to display progress bars, status messages, etc.
|
||||
*/
|
||||
|
||||
|
||||
#define rpc_create_user (0x00000001) /* userman.h */
|
||||
#define rpc_open_user (0x00000002) /* userinfo.h */
|
||||
#define rpc_query_user (0x00000003) /* userinfo.h */
|
||||
#define rpc_close_user (0x00000004) /* userinfo.h */
|
||||
#define rpc_lookup_name (0x00000005) /* userman.h */
|
||||
#define rpc_delete_user (0x00000006) /* userman.h */
|
||||
|
||||
struct monitor_msg {
|
||||
uint32_t type;
|
||||
void *data;
|
||||
size_t data_size;
|
||||
};
|
||||
|
||||
struct libnet_rpc_userinfo {
|
||||
struct {
|
||||
|
Reference in New Issue
Block a user