/* unused. Stub to make the pidl generated NDR parsers compile */
-/*
- this is used to find pointers to calls
-*/
-struct dcerpc_interface_call {
- const char *name;
- size_t struct_size;
- ndr_push_flags_fn_t ndr_push;
- ndr_pull_flags_fn_t ndr_pull;
- ndr_print_function_t ndr_print;
- BOOL async;
-};
-
struct dcerpc_endpoint_list {
uint32_t count;
const char * const *names;
struct ndr_syntax_id syntax_id;
const char *helpstring;
uint32_t num_calls;
- const struct dcerpc_interface_call *calls;
+ const struct ndr_interface_call *calls;
const struct dcerpc_endpoint_list *endpoints;
const struct dcerpc_authservice_list *authservices;
};
ndr->depth--;
}
-const struct dcerpc_interface_call netdfs_calls[] = {
+const struct ndr_interface_call netdfs_calls[] = {
{
"dfs_GetManagerVersion",
sizeof(struct dfs_GetManagerVersion),
ndr->depth--;
}
-const struct dcerpc_interface_call rpcecho_calls[] = {
+const struct ndr_interface_call rpcecho_calls[] = {
{
"echo_AddOne",
sizeof(struct echo_AddOne),
ndr->depth--;
}
-const struct dcerpc_interface_call epmapper_calls[] = {
+const struct ndr_interface_call epmapper_calls[] = {
{
"epm_Insert",
sizeof(struct epm_Insert),
ndr->depth--;
}
-const struct dcerpc_interface_call eventlog_calls[] = {
+const struct ndr_interface_call eventlog_calls[] = {
{
"eventlog_ClearEventLogW",
sizeof(struct eventlog_ClearEventLogW),
ndr->depth--;
}
-const struct dcerpc_interface_call initshutdown_calls[] = {
+const struct ndr_interface_call initshutdown_calls[] = {
{
"initshutdown_Init",
sizeof(struct initshutdown_Init),
ndr->depth--;
}
-const struct dcerpc_interface_call lsarpc_calls[] = {
+const struct ndr_interface_call lsarpc_calls[] = {
{
"lsa_Close",
sizeof(struct lsa_Close),
ndr->depth--;
}
-const struct dcerpc_interface_call netlogon_calls[] = {
+const struct ndr_interface_call netlogon_calls[] = {
{
"netr_LogonUasLogon",
sizeof(struct netr_LogonUasLogon),
ndr->depth--;
}
-const struct dcerpc_interface_call srvsvc_calls[] = {
+const struct ndr_interface_call srvsvc_calls[] = {
{
"srvsvc_NetCharDevEnum",
sizeof(struct srvsvc_NetCharDevEnum),
ndr->depth--;
}
-const struct dcerpc_interface_call svcctl_calls[] = {
+const struct ndr_interface_call svcctl_calls[] = {
{
"svcctl_CloseServiceHandle",
sizeof(struct svcctl_CloseServiceHandle),
ndr->depth--;
}
-const struct dcerpc_interface_call unixinfo_calls[] = {
+const struct ndr_interface_call unixinfo_calls[] = {
{
"unixinfo_SidToUid",
sizeof(struct unixinfo_SidToUid),
ndr->depth--;
}
-const struct dcerpc_interface_call winreg_calls[] = {
+const struct ndr_interface_call winreg_calls[] = {
{
"winreg_OpenHKCR",
sizeof(struct winreg_OpenHKCR),
ndr->depth--;
}
-const struct dcerpc_interface_call wkssvc_calls[] = {
+const struct ndr_interface_call wkssvc_calls[] = {
{
"wkssvc_NetWkstaGetInfo",
sizeof(struct wkssvc_NetWkstaGetInfo),
extern const struct ndr_syntax_id ndr_transfer_syntax;
extern const struct ndr_syntax_id ndr64_transfer_syntax;
+struct ndr_interface_call {
+ const char *name;
+ size_t struct_size;
+ ndr_push_flags_fn_t ndr_push;
+ ndr_pull_flags_fn_t ndr_pull;
+ ndr_print_function_t ndr_print;
+ BOOL async;
+};
+
#include "dcerpc.h"
#endif /* __LIBNDR_H__ */
#include "librpc/rpc/dcerpc_table.h"
#endif
-static const struct dcerpc_interface_call *find_function(
+static const struct ndr_interface_call *find_function(
const struct dcerpc_interface_table *p,
const char *function)
{
int main(int argc, const char *argv[])
{
const struct dcerpc_interface_table *p = NULL;
- const struct dcerpc_interface_call *f;
+ const struct ndr_interface_call *f;
const char *pipe_name, *function, *inout, *filename;
uint8_t *data;
size_t size;