summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-03-19 00:43:58 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-03-19 03:20:05 +0100
commit7628fb2396f8c2bf68f0c693ec1619ca4b98d780 (patch)
treec8ae80f1901fe675600463212668063cd61c65b2 /source4
parenta68b59e9a6f33897fa93a05fb07a6edb53a793ea (diff)
downloadsamba-7628fb2396f8c2bf68f0c693ec1619ca4b98d780.tar.gz
samba-7628fb2396f8c2bf68f0c693ec1619ca4b98d780.tar.bz2
samba-7628fb2396f8c2bf68f0c693ec1619ca4b98d780.zip
source4/torture/ndr: Fix prototypes for all functions.
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/ndr/atsvc.c1
-rw-r--r--source4/torture/ndr/backupkey.c1
-rw-r--r--source4/torture/ndr/dfs.c1
-rw-r--r--source4/torture/ndr/dfsblob.c1
-rw-r--r--source4/torture/ndr/drsblobs.c1
-rw-r--r--source4/torture/ndr/drsuapi.c1
-rw-r--r--source4/torture/ndr/epmap.c1
-rw-r--r--source4/torture/ndr/lsa.c1
-rw-r--r--source4/torture/ndr/nbt.c1
-rw-r--r--source4/torture/ndr/netlogon.c1
-rw-r--r--source4/torture/ndr/ntlmssp.c1
-rw-r--r--source4/torture/ndr/samr.c1
-rw-r--r--source4/torture/ndr/spoolss.c1
-rw-r--r--source4/torture/ndr/winreg.c1
14 files changed, 14 insertions, 0 deletions
diff --git a/source4/torture/ndr/atsvc.c b/source4/torture/ndr/atsvc.c
index 583a3eae49..0fdbe49b72 100644
--- a/source4/torture/ndr/atsvc.c
+++ b/source4/torture/ndr/atsvc.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_atsvc.h"
+#include "torture/ndr/proto.h"
static const uint8_t jobenum_in_data[] = {
0x01, 0x00, 0x00, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
diff --git a/source4/torture/ndr/backupkey.c b/source4/torture/ndr/backupkey.c
index 3014a0ced9..bc9aa7944a 100644
--- a/source4/torture/ndr/backupkey.c
+++ b/source4/torture/ndr/backupkey.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_backupkey.h"
+#include "torture/ndr/proto.h"
static const uint8_t exported_rsa_ndr[] = {
diff --git a/source4/torture/ndr/dfs.c b/source4/torture/ndr/dfs.c
index 489de608e6..ac80b40958 100644
--- a/source4/torture/ndr/dfs.c
+++ b/source4/torture/ndr/dfs.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_dfs.h"
+#include "torture/ndr/proto.h"
static const uint8_t getmanagerversion_out_data[] = {
0x04, 0x00, 0x00, 0x00
diff --git a/source4/torture/ndr/dfsblob.c b/source4/torture/ndr/dfsblob.c
index 23a32e163f..3c95928a5c 100644
--- a/source4/torture/ndr/dfsblob.c
+++ b/source4/torture/ndr/dfsblob.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_dfsblobs.h"
+#include "torture/ndr/proto.h"
#include "librpc/gen_ndr/dfsblobs.h"
DATA_BLOB blob;
diff --git a/source4/torture/ndr/drsblobs.c b/source4/torture/ndr/drsblobs.c
index ca3fa1d7ed..4756ffdfb9 100644
--- a/source4/torture/ndr/drsblobs.c
+++ b/source4/torture/ndr/drsblobs.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_drsblobs.h"
+#include "torture/ndr/proto.h"
static const uint8_t forest_trust_info_data_out[] = {
0x01, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00,
diff --git a/source4/torture/ndr/drsuapi.c b/source4/torture/ndr/drsuapi.c
index 664be941f3..8208020e59 100644
--- a/source4/torture/ndr/drsuapi.c
+++ b/source4/torture/ndr/drsuapi.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_drsuapi.h"
+#include "torture/ndr/proto.h"
static const uint8_t DsAddEntry_req1_dat[] = {
0x00, 0x00, 0x00, 0x00, 0x52, 0xd7, 0x26, 0x47, 0x58, 0xd3, 0xd4, 0x45,
diff --git a/source4/torture/ndr/epmap.c b/source4/torture/ndr/epmap.c
index 9f7b1efa3e..142e74fa1a 100644
--- a/source4/torture/ndr/epmap.c
+++ b/source4/torture/ndr/epmap.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_epmapper.h"
+#include "torture/ndr/proto.h"
static const uint8_t map_in_data[] = {
0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
diff --git a/source4/torture/ndr/lsa.c b/source4/torture/ndr/lsa.c
index 6e53fdf4d6..17adcd0680 100644
--- a/source4/torture/ndr/lsa.c
+++ b/source4/torture/ndr/lsa.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_lsa.h"
+#include "torture/ndr/proto.h"
static const uint8_t lsarlookupnames_in_data[] = {
0x00, 0x00, 0x00, 0x00, 0x2a, 0xab, 0xb8, 0x84, 0x36, 0xc6, 0xed, 0x4f,
diff --git a/source4/torture/ndr/nbt.c b/source4/torture/ndr/nbt.c
index 8955f4d7d9..323c92d761 100644
--- a/source4/torture/ndr/nbt.c
+++ b/source4/torture/ndr/nbt.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_nbt.h"
+#include "torture/ndr/proto.h"
static const uint8_t netlogon_logon_request_req_data[] = {
0x00, 0x00, 0x57, 0x49, 0x4e, 0x39, 0x38, 0x00, 0x47, 0x44, 0x00, 0x5c,
diff --git a/source4/torture/ndr/netlogon.c b/source4/torture/ndr/netlogon.c
index 53c478b2d7..c7d53dbb4c 100644
--- a/source4/torture/ndr/netlogon.c
+++ b/source4/torture/ndr/netlogon.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_netlogon.h"
+#include "torture/ndr/proto.h"
static const uint8_t netrserverauthenticate3_in_data[] = {
0xb0, 0x2e, 0x0a, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
diff --git a/source4/torture/ndr/ntlmssp.c b/source4/torture/ndr/ntlmssp.c
index b139fdf232..c49e5ea715 100644
--- a/source4/torture/ndr/ntlmssp.c
+++ b/source4/torture/ndr/ntlmssp.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_ntlmssp.h"
+#include "torture/ndr/proto.h"
static const uint8_t ntlmssp_NEGOTIATE_MESSAGE_data[] = {
0x4e, 0x54, 0x4c, 0x4d, 0x53, 0x53, 0x50, 0x00, 0x01, 0x00, 0x00, 0x00,
diff --git a/source4/torture/ndr/samr.c b/source4/torture/ndr/samr.c
index 25b9d0ad79..8cc949e469 100644
--- a/source4/torture/ndr/samr.c
+++ b/source4/torture/ndr/samr.c
@@ -22,6 +22,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_samr.h"
+#include "torture/ndr/proto.h"
static const uint8_t samr_connect5_in_data[] = {
0xa8, 0x71, 0x0e, 0x00, 0x1a, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
diff --git a/source4/torture/ndr/spoolss.c b/source4/torture/ndr/spoolss.c
index f785af6297..e67051b126 100644
--- a/source4/torture/ndr/spoolss.c
+++ b/source4/torture/ndr/spoolss.c
@@ -21,6 +21,7 @@
#include "includes.h"
#include "torture/ndr/ndr.h"
#include "librpc/gen_ndr/ndr_spoolss.h"
+#include "torture/ndr/proto.h"
static const uint8_t openprinterex_req_data[] = {
0xf0, 0xa8, 0x39, 0x00, 0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
diff --git a/source4/torture/ndr/winreg.c b/source4/torture/ndr/winreg.c
index b6da7bccd2..08c2a05c96 100644
--- a/source4/torture/ndr/winreg.c
+++ b/source4/torture/ndr/winreg.c
@@ -23,6 +23,7 @@
#include "librpc/gen_ndr/ndr_winreg.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "libcli/security/security.h"
+#include "torture/ndr/proto.h"
static const uint8_t closekey_in_data[] = {
0x00, 0x00, 0x00, 0x00, 0x1d, 0xd8, 0xd7, 0xaa, 0x8d, 0x6c, 0x3f, 0x48,