Skip to content

Commit

Permalink
Removed midl.c|h from WinPR
Browse files Browse the repository at this point in the history
  • Loading branch information
akallabeth authored and hardening committed Dec 23, 2021
1 parent d1d8d60 commit 5365b2f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 89 deletions.
41 changes: 0 additions & 41 deletions winpr/include/winpr/midl.h

This file was deleted.

16 changes: 10 additions & 6 deletions winpr/include/winpr/rpc.h
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,8 @@ typedef struct _RPC_SECURITY_QOS_V2_W
unsigned long IdentityTracking;
unsigned long ImpersonationType;
unsigned long AdditionalSecurityInfoType;
union {
union
{
RPC_HTTP_TRANSPORT_CREDENTIALS_W* HttpCredentials;
} u;
} RPC_SECURITY_QOS_V2_W, *PRPC_SECURITY_QOS_V2_W;
Expand All @@ -320,7 +321,8 @@ typedef struct _RPC_SECURITY_QOS_V2_A
unsigned long IdentityTracking;
unsigned long ImpersonationType;
unsigned long AdditionalSecurityInfoType;
union {
union
{
RPC_HTTP_TRANSPORT_CREDENTIALS_A* HttpCredentials;
} u;
} RPC_SECURITY_QOS_V2_A, *PRPC_SECURITY_QOS_V2_A;
Expand All @@ -334,7 +336,8 @@ typedef struct _RPC_SECURITY_QOS_V3_W
unsigned long IdentityTracking;
unsigned long ImpersonationType;
unsigned long AdditionalSecurityInfoType;
union {
union
{
RPC_HTTP_TRANSPORT_CREDENTIALS_W* HttpCredentials;
} u;
void* Sid;
Expand All @@ -347,7 +350,8 @@ typedef struct _RPC_SECURITY_QOS_V3_A
unsigned long IdentityTracking;
unsigned long ImpersonationType;
unsigned long AdditionalSecurityInfoType;
union {
union
{
RPC_HTTP_TRANSPORT_CREDENTIALS_A* HttpCredentials;
} u;
void* Sid;
Expand Down Expand Up @@ -440,7 +444,8 @@ typedef struct _RPC_BINDING_HANDLE_TEMPLATE
unsigned long ProtocolSequence;
unsigned short* NetworkAddress;
unsigned short* StringEndpoint;
union {
union
{
unsigned short* Reserved;
} u1;
UUID ObjectUuid;
Expand All @@ -451,7 +456,6 @@ typedef struct _RPC_BINDING_HANDLE_TEMPLATE
#define RPC_CALL_STATUS_DISCONNECTED 0x03

#include <winpr/ndr.h>
#include <winpr/midl.h>

#ifdef __cplusplus
extern "C"
Expand Down
2 changes: 1 addition & 1 deletion winpr/libwinpr/rpc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ winpr_module_add(
ndr_structure.h
ndr_union.c
ndr_union.h
midl.c)
)

winpr_include_directory_add(${OPENSSL_INCLUDE_DIR})

Expand Down
41 changes: 0 additions & 41 deletions winpr/libwinpr/rpc/midl.c

This file was deleted.

0 comments on commit 5365b2f

Please sign in to comment.