Share RPC binding string utility functions.
[samba.git] / source3 / librpc / gen_ndr / srv_initshutdown.c
index 00a89661b575c7a7a19623f95d81fab7c2831f93..51098074ac14d85a442b2a53e57e9f6e1f289bee 100644 (file)
@@ -27,7 +27,7 @@ static bool api_initshutdown_Init(pipes_struct *p)
                return false;
        }
 
-       pull = ndr_pull_init_blob(&blob, r);
+       pull = ndr_pull_init_blob(&blob, r, NULL);
        if (pull == NULL) {
                talloc_free(r);
                return false;
@@ -56,7 +56,7 @@ static bool api_initshutdown_Init(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(initshutdown_Init, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -100,7 +100,7 @@ static bool api_initshutdown_Abort(pipes_struct *p)
                return false;
        }
 
-       pull = ndr_pull_init_blob(&blob, r);
+       pull = ndr_pull_init_blob(&blob, r, NULL);
        if (pull == NULL) {
                talloc_free(r);
                return false;
@@ -129,7 +129,7 @@ static bool api_initshutdown_Abort(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(initshutdown_Abort, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;
@@ -173,7 +173,7 @@ static bool api_initshutdown_InitEx(pipes_struct *p)
                return false;
        }
 
-       pull = ndr_pull_init_blob(&blob, r);
+       pull = ndr_pull_init_blob(&blob, r, NULL);
        if (pull == NULL) {
                talloc_free(r);
                return false;
@@ -202,7 +202,7 @@ static bool api_initshutdown_InitEx(pipes_struct *p)
                NDR_PRINT_OUT_DEBUG(initshutdown_InitEx, r);
        }
 
-       push = ndr_push_init_ctx(r);
+       push = ndr_push_init_ctx(r, NULL);
        if (push == NULL) {
                talloc_free(r);
                return false;