summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/dcom.idl8
-rw-r--r--source4/librpc/idl/drsblobs.idl14
-rw-r--r--source4/librpc/idl/drsuapi.idl30
-rw-r--r--source4/librpc/idl/echo.idl4
-rw-r--r--source4/librpc/idl/lsa.idl4
-rw-r--r--source4/librpc/idl/oxidresolver.idl4
-rw-r--r--source4/librpc/idl/remact.idl2
-rw-r--r--source4/librpc/idl/samr.idl12
-rw-r--r--source4/librpc/ndr/ndr_basic.c34
9 files changed, 56 insertions, 56 deletions
diff --git a/source4/librpc/idl/dcom.idl b/source4/librpc/idl/dcom.idl
index d29c7476ef..762b928252 100644
--- a/source4/librpc/idl/dcom.idl
+++ b/source4/librpc/idl/dcom.idl
@@ -157,8 +157,8 @@ interface ObjectRpcBaseTypes
{
uint32 flags; /* STDOBJREF flags (see above) */
uint32 cPublicRefs; /* count of references passed */
- HYPER_T oxid; /* oxid of server with this oid */
- HYPER_T oid; /* oid of object with this ipid */
+ hyper oxid; /* oxid of server with this oid */
+ hyper oid; /* oid of object with this ipid */
GUID ipid; /* ipid of interface pointer to this object */
} STDOBJREF;
@@ -346,9 +346,9 @@ interface IRemUnknown : IUnknown
]
interface ISystemActivator : IClassActivator
{
- WERROR ISystemActivatorRemoteCreateInstance([in] HYPER_T unknown1, /* OXID ? */
+ WERROR ISystemActivatorRemoteCreateInstance([in] hyper unknown1, /* OXID ? */
[in] MInterfacePointer iface,
- [in] HYPER_T unknown2,
+ [in] hyper unknown2,
[out] uint32 unknown3,
[out] MInterfacePointer iface);
}
diff --git a/source4/librpc/idl/drsblobs.idl b/source4/librpc/idl/drsblobs.idl
index 51c4071a25..b2d38b27d3 100644
--- a/source4/librpc/idl/drsblobs.idl
+++ b/source4/librpc/idl/drsblobs.idl
@@ -16,8 +16,8 @@ interface drsblobs {
uint32 version;
NTTIME_1sec orginating_time;
GUID orginating_dsa; /* the 'invocationId' ? */
- HYPER_T orginating_usn;
- HYPER_T local_usn;
+ hyper orginating_usn;
+ hyper local_usn;
} replPropertyMetaData1;
typedef struct {
@@ -47,7 +47,7 @@ interface drsblobs {
*/
typedef struct {
GUID invocation_id_guid; /* the 'invocationId' field of the CN=NTDS Settings object */
- HYPER_T highest_usn; /* updated after a full replication cycle */
+ hyper highest_usn; /* updated after a full replication cycle */
} replUpToDateVector1;
typedef struct {
@@ -58,7 +58,7 @@ interface drsblobs {
typedef struct {
GUID invocation_id_guid; /* the 'invocationId' field of the CN=NTDS Settings object */
- HYPER_T highest_usn; /* updated after a full replication cycle */
+ hyper highest_usn; /* updated after a full replication cycle */
NTTIME_1sec last_success;
} replUpToDateVector2;
@@ -104,9 +104,9 @@ interface drsblobs {
uint32 replica_flags;
uint8 schedule[84];
uint32 reserved;
- HYPER_T tmp_highest_usn; /* updated after each object update */
- HYPER_T reserved_usn;
- HYPER_T highest_usn; /* updated after a full replication cycle */
+ hyper tmp_highest_usn; /* updated after each object update */
+ hyper reserved_usn;
+ hyper highest_usn; /* updated after a full replication cycle */
GUID source_dsa_obj_guid; /* the 'objectGuid' field of the CN=NTDS Settings object */
GUID source_dsa_invocation_id; /* the 'invocationId' field of the CN=NTDS Settings object */
GUID transport_guid;
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl
index 74793f3db3..be7a06bf23 100644
--- a/source4/librpc/idl/drsuapi.idl
+++ b/source4/librpc/idl/drsuapi.idl
@@ -432,8 +432,8 @@ interface drsuapi
GUID source_dsa_obj_guid;
GUID source_dsa_invocation_id;
GUID transport_obj_guid;
- HYPER_T tmp_highest_usn;
- HYPER_T highest_usn;
+ hyper tmp_highest_usn;
+ hyper highest_usn;
NTTIME last_success;
NTTIME last_attempt;
WERROR result_last_attempt;
@@ -448,7 +448,7 @@ interface drsuapi
typedef struct {
GUID source_dsa_invocation_id;
- HYPER_T highest_usn;
+ hyper highest_usn;
} drsuapi_DsReplicaCoursor;
typedef struct {
@@ -462,8 +462,8 @@ interface drsuapi
uint32 version;
NTTIME originating_last_changed;
GUID originating_dsa_invocation_id;
- HYPER_T originating_usn;
- HYPER_T local_usn;
+ hyper originating_usn;
+ hyper local_usn;
} drsuapi_DsReplicaObjMetaData;
typedef struct {
@@ -515,8 +515,8 @@ interface drsuapi
uint32 version;
NTTIME originating_last_changed;
GUID originating_dsa_invocation_id;
- HYPER_T originating_usn;
- HYPER_T local_usn;
+ hyper originating_usn;
+ hyper local_usn;
} drsuapi_DsReplicaAttrValMetaData;
typedef struct {
@@ -527,7 +527,7 @@ interface drsuapi
typedef struct {
GUID source_dsa_invocation_id;
- HYPER_T highest_usn;
+ hyper highest_usn;
NTTIME last_sync_success;
} drsuapi_DsReplicaCoursor2;
@@ -539,7 +539,7 @@ interface drsuapi
typedef struct {
GUID source_dsa_invocation_id;
- HYPER_T highest_usn;
+ hyper highest_usn;
NTTIME last_sync_success;
unistr *source_dsa_obj_dn;
} drsuapi_DsReplicaCoursor3;
@@ -555,8 +555,8 @@ interface drsuapi
uint32 version;
NTTIME originating_last_changed;
GUID originating_dsa_invocation_id;
- HYPER_T originating_usn;
- HYPER_T local_usn;
+ hyper originating_usn;
+ hyper local_usn;
unistr *originating_dsa_obj_dn;
} drsuapi_DsReplicaObjMetaData2;
@@ -576,8 +576,8 @@ interface drsuapi
uint32 version;
NTTIME originating_last_changed;
GUID originating_dsa_invocation_id;
- HYPER_T originating_usn;
- HYPER_T local_usn;
+ hyper originating_usn;
+ hyper local_usn;
unistr *originating_dsa_obj_dn;
} drsuapi_DsReplicaAttrValMetaData2;
@@ -588,7 +588,7 @@ interface drsuapi
} drsuapi_DsReplicaAttrValMetaData2Ctr;
typedef struct {
- HYPER_T u1; /* session number? */
+ hyper u1; /* session number? */
uint32 u2;
uint32 u3;
GUID bind_guid;
@@ -618,7 +618,7 @@ interface drsuapi
uint32 u3;
uint32 u4;
uint32 u5;
- HYPER_T u6;
+ hyper u6;
uint32 u7;
} drsuapi_DsReplica06;
diff --git a/source4/librpc/idl/echo.idl b/source4/librpc/idl/echo.idl
index f2d8960558..c73de8cc7b 100644
--- a/source4/librpc/idl/echo.idl
+++ b/source4/librpc/idl/echo.idl
@@ -52,12 +52,12 @@ interface rpcecho
} echo_info3;
typedef struct {
- HYPER_T v;
+ hyper v;
} echo_info4;
typedef struct {
uint8 v1;
- HYPER_T v2;
+ hyper v2;
} echo_info5;
typedef struct {
diff --git a/source4/librpc/idl/lsa.idl b/source4/librpc/idl/lsa.idl
index 75d1cadd86..5d291927dd 100644
--- a/source4/librpc/idl/lsa.idl
+++ b/source4/librpc/idl/lsa.idl
@@ -150,11 +150,11 @@
uint32 min_wss;
uint32 max_wss;
uint32 pagefile;
- HYPER_T unknown;
+ hyper unknown;
} lsa_DefaultQuotaInfo;
typedef struct {
- HYPER_T modified_id;
+ hyper modified_id;
NTTIME db_create_time;
} lsa_ModificationInfo;
diff --git a/source4/librpc/idl/oxidresolver.idl b/source4/librpc/idl/oxidresolver.idl
index 611144e40b..3b6d4efd28 100644
--- a/source4/librpc/idl/oxidresolver.idl
+++ b/source4/librpc/idl/oxidresolver.idl
@@ -21,8 +21,8 @@
]
interface IOXIDResolver
{
-#define OXID HYPER_T
-#define SETID HYPER_T
+#define OXID hyper
+#define SETID hyper
#define IPID GUID
#define OID GUID
diff --git a/source4/librpc/idl/remact.idl b/source4/librpc/idl/remact.idl
index d73f6c5125..4aeb0015ce 100644
--- a/source4/librpc/idl/remact.idl
+++ b/source4/librpc/idl/remact.idl
@@ -39,7 +39,7 @@ interface IRemoteActivation
[in, unique,size_is(Interfaces)] GUID *pIIDs,
[in] uint16 num_protseqs,
[in, size_is(num_protseqs)] uint16 protseq[],
- [out] HYPER_T pOxid,
+ [out] hyper pOxid,
[out] DUALSTRINGARRAY *pdsaOxidBindings,
[out] GUID ipidRemUnknown,
[out] uint32 AuthnHint,
diff --git a/source4/librpc/idl/samr.idl b/source4/librpc/idl/samr.idl
index db7f4aa6cc..af3b510bd9 100644
--- a/source4/librpc/idl/samr.idl
+++ b/source4/librpc/idl/samr.idl
@@ -174,7 +174,7 @@
} samr_DomInfo7;
typedef struct {
- HYPER_T sequence_num;
+ hyper sequence_num;
NTTIME domain_create_time;
} samr_DomInfo8;
@@ -184,19 +184,19 @@
typedef struct {
samr_DomInfo2 info2;
- HYPER_T lockout_duration;
- HYPER_T lockout_window;
+ hyper lockout_duration;
+ hyper lockout_window;
uint16 lockout_threshold;
} samr_DomInfo11;
typedef struct {
- HYPER_T lockout_duration;
- HYPER_T lockout_window;
+ hyper lockout_duration;
+ hyper lockout_window;
uint16 lockout_threshold;
} samr_DomInfo12;
typedef struct {
- HYPER_T sequence_num;
+ hyper sequence_num;
NTTIME domain_create_time;
uint32 unknown1;
uint32 unknown2;
diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c
index 7ca930d78d..e38b9d394a 100644
--- a/source4/librpc/ndr/ndr_basic.c
+++ b/source4/librpc/ndr/ndr_basic.c
@@ -141,7 +141,7 @@ NTSTATUS ndr_pull_dlong(struct ndr_pull *ndr, int64_t *v)
/*
parse a hyper
*/
-NTSTATUS ndr_pull_HYPER_T(struct ndr_pull *ndr, uint64_t *v)
+NTSTATUS ndr_pull_hyper(struct ndr_pull *ndr, uint64_t *v)
{
NDR_PULL_ALIGN(ndr, 8);
return ndr_pull_udlong(ndr, v);
@@ -249,16 +249,16 @@ NTSTATUS ndr_pull_array_uint32(struct ndr_pull *ndr, int ndr_flags, uint32_t *da
}
/*
- pull a const array of HYPER_T
+ pull a const array of hyper
*/
-NTSTATUS ndr_pull_array_HYPER_T(struct ndr_pull *ndr, int ndr_flags, uint64_t *data, uint32_t n)
+NTSTATUS ndr_pull_array_hyper(struct ndr_pull *ndr, int ndr_flags, uint64_t *data, uint32_t n)
{
uint32_t i;
if (!(ndr_flags & NDR_SCALARS)) {
return NT_STATUS_OK;
}
for (i=0;i<n;i++) {
- NDR_CHECK(ndr_pull_HYPER_T(ndr, &data[i]));
+ NDR_CHECK(ndr_pull_hyper(ndr, &data[i]));
}
return NT_STATUS_OK;
}
@@ -349,9 +349,9 @@ NTSTATUS ndr_push_dlong(struct ndr_push *ndr, int64_t v)
}
/*
- push a HYPER_T
+ push a hyper
*/
-NTSTATUS ndr_push_HYPER_T(struct ndr_push *ndr, uint64_t v)
+NTSTATUS ndr_push_hyper(struct ndr_push *ndr, uint64_t v)
{
NDR_PUSH_ALIGN(ndr, 8);
return ndr_push_udlong(ndr, v);
@@ -433,22 +433,22 @@ NTSTATUS ndr_push_array_uint32(struct ndr_push *ndr, int ndr_flags, const uint32
}
/*
- push an array of HYPER_T
+ push an array of hyper
*/
-NTSTATUS ndr_push_array_HYPER_T(struct ndr_push *ndr, int ndr_flags, const uint64_t *data, uint32_t n)
+NTSTATUS ndr_push_array_hyper(struct ndr_push *ndr, int ndr_flags, const uint64_t *data, uint32_t n)
{
int i;
if (!(ndr_flags & NDR_SCALARS)) {
return NT_STATUS_OK;
}
for (i=0;i<n;i++) {
- NDR_CHECK(ndr_push_HYPER_T(ndr, data[i]));
+ NDR_CHECK(ndr_push_hyper(ndr, data[i]));
}
return NT_STATUS_OK;
}
/*
- push an array of HYPER_T
+ push an array of hyper
*/
NTSTATUS ndr_push_array_WERROR(struct ndr_push *ndr, int ndr_flags, const WERROR *data, uint32_t n)
{
@@ -965,7 +965,7 @@ NTSTATUS ndr_pull_NTTIME(struct ndr_pull *ndr, NTTIME *t)
NTSTATUS ndr_push_NTTIME_1sec(struct ndr_push *ndr, NTTIME t)
{
t /= 10000000;
- NDR_CHECK(ndr_push_HYPER_T(ndr, t));
+ NDR_CHECK(ndr_push_hyper(ndr, t));
return NT_STATUS_OK;
}
@@ -974,7 +974,7 @@ NTSTATUS ndr_push_NTTIME_1sec(struct ndr_push *ndr, NTTIME t)
*/
NTSTATUS ndr_pull_NTTIME_1sec(struct ndr_pull *ndr, NTTIME *t)
{
- NDR_CHECK(ndr_pull_HYPER_T(ndr, t));
+ NDR_CHECK(ndr_pull_hyper(ndr, t));
(*t) *= 10000000;
return NT_STATUS_OK;
}
@@ -984,7 +984,7 @@ NTSTATUS ndr_pull_NTTIME_1sec(struct ndr_pull *ndr, NTTIME *t)
*/
NTSTATUS ndr_pull_NTTIME_hyper(struct ndr_pull *ndr, NTTIME *t)
{
- NDR_CHECK(ndr_pull_HYPER_T(ndr, t));
+ NDR_CHECK(ndr_pull_hyper(ndr, t));
return NT_STATUS_OK;
}
@@ -993,7 +993,7 @@ NTSTATUS ndr_pull_NTTIME_hyper(struct ndr_pull *ndr, NTTIME *t)
*/
NTSTATUS ndr_push_NTTIME_hyper(struct ndr_push *ndr, NTTIME t)
{
- NDR_CHECK(ndr_push_HYPER_T(ndr, t));
+ NDR_CHECK(ndr_push_hyper(ndr, t));
return NT_STATUS_OK;
}
@@ -1084,7 +1084,7 @@ void ndr_print_dlong(struct ndr_print *ndr, const char *name, int64_t v)
v);
}
-void ndr_print_HYPER_T(struct ndr_print *ndr, const char *name, uint64_t v)
+void ndr_print_hyper(struct ndr_print *ndr, const char *name, uint64_t v)
{
ndr_print_dlong(ndr, name, v);
}
@@ -1162,7 +1162,7 @@ void ndr_print_array_WERROR(struct ndr_print *ndr, const char *name,
ndr->depth--;
}
-void ndr_print_array_HYPER_T(struct ndr_print *ndr, const char *name,
+void ndr_print_array_hyper(struct ndr_print *ndr, const char *name,
const uint64_t *data, uint32_t count)
{
int i;
@@ -1173,7 +1173,7 @@ void ndr_print_array_HYPER_T(struct ndr_print *ndr, const char *name,
char *idx=NULL;
asprintf(&idx, "[%d]", i);
if (idx) {
- ndr_print_HYPER_T(ndr, idx, data[i]);
+ ndr_print_hyper(ndr, idx, data[i]);
free(idx);
}
}