summaryrefslogtreecommitdiffstats
path: root/source4/torture
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/torture
parenta68b59e9a6f33897fa93a05fb07a6edb53a793ea (diff)
downloadsamba-7628fb2396f8c2bf68f0c693ec1619ca4b98d780.tar.gz
samba-7628fb2396f8c2bf68f0c693ec1619ca4b98d780.tar.xz
samba-7628fb2396f8c2bf68f0c693ec1619ca4b98d780.zip
source4/torture/ndr: Fix prototypes for all functions.
Diffstat (limited to 'source4/torture')
-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 583a3eae49c..0fdbe49b72b 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 3014a0ced93..bc9aa7944a6 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 489de608e60..ac80b409585 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 23a32e163f6..3c95928a5c0 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 ca3fa1d7edd..4756ffdfb9f 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 664be941f30..8208020e599 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 9f7b1efa3e8..142e74fa1a3 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 6e53fdf4d6d..17adcd06800 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 8955f4d7d92..323c92d7619 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 53c478b2d7b..c7d53dbb4c8 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 b139fdf232f..c49e5ea715c 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 25b9d0ad792..8cc949e4691 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 f785af62978..e67051b1262 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 b6da7bccd24..08c2a05c966 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,