Fixed compilation with -Wstrict-prototypes
This commit is contained in:
parent
29b94e6787
commit
865ff2a5f8
@ -91,7 +91,7 @@ void rail_send_client_window_move_order(rdpRailOrder* rail_order);
|
||||
void rail_send_client_get_appid_req_order(rdpRailOrder* rail_order);
|
||||
void rail_send_client_langbar_info_order(rdpRailOrder* rail_order);
|
||||
|
||||
rdpRailOrder* rail_order_new();
|
||||
rdpRailOrder* rail_order_new(void);
|
||||
void rail_order_free(rdpRailOrder* rail_order);
|
||||
|
||||
#endif /* __RAIL_ORDERS_H */
|
||||
|
@ -62,7 +62,7 @@ struct _ISOCH_CALLBACK_QUEUE
|
||||
};
|
||||
|
||||
|
||||
ISOCH_CALLBACK_QUEUE* isoch_queue_new();
|
||||
ISOCH_CALLBACK_QUEUE* isoch_queue_new(void);
|
||||
|
||||
|
||||
|
||||
|
@ -59,7 +59,7 @@ struct _REQUEST_QUEUE
|
||||
};
|
||||
|
||||
|
||||
REQUEST_QUEUE* request_queue_new();
|
||||
REQUEST_QUEUE* request_queue_new(void);
|
||||
|
||||
|
||||
#endif /* __REQUEST_QUEUE_H */
|
||||
|
@ -63,7 +63,7 @@ BOOL android_check_fds(freerdp * inst);
|
||||
ANDROID_EVENT_KEY* android_event_key_new(int flags, UINT16 scancode);
|
||||
ANDROID_EVENT_KEY* android_event_unicodekey_new(UINT16 key);
|
||||
ANDROID_EVENT_CURSOR* android_event_cursor_new(UINT16 flags, UINT16 x, UINT16 y);
|
||||
ANDROID_EVENT* android_event_disconnect_new();
|
||||
ANDROID_EVENT* android_event_disconnect_new(void);
|
||||
void android_event_key_free(ANDROID_EVENT_KEY* event);
|
||||
void android_event_unicodekey_free(ANDROID_EVENT_KEY* event);
|
||||
void android_event_cursor_free(ANDROID_EVENT_CURSOR* event);
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
jint init_callback_environment(JavaVM* vm);
|
||||
jboolean jni_attach_thread(JNIEnv** env);
|
||||
void jni_detach_thread();
|
||||
void jni_detach_thread(void);
|
||||
void freerdp_callback(const char * callback, const char * signature, ...);
|
||||
jboolean freerdp_callback_bool_result(const char * callback, const char * signature, ...);
|
||||
void tsxconnect_callback(const char * callback, const char * signature, ...);
|
||||
|
@ -22,7 +22,7 @@
|
||||
|
||||
#include "dfreerdp.h"
|
||||
|
||||
void df_keyboard_init();
|
||||
void df_keyboard_init(void);
|
||||
BOOL df_event_process(freerdp* instance, DFBEvent* event);
|
||||
|
||||
#endif /* __DF_EVENT_H */
|
||||
|
@ -15,5 +15,5 @@
|
||||
@property (assign) IBOutlet NSWindow *window;
|
||||
|
||||
|
||||
int rdp_connect();
|
||||
int rdp_connect(void);
|
||||
@end
|
||||
|
@ -99,7 +99,7 @@ void pointer_free(rdpContext* context, rdpPointer* pointer);
|
||||
void pointer_set(rdpContext* context, rdpPointer* pointer);
|
||||
void pointer_setNull(rdpContext* context);
|
||||
void pointer_setDefault(rdpContext* context);
|
||||
int rdp_connect();
|
||||
int rdp_connect(void);
|
||||
BOOL mac_pre_connect(freerdp *inst);
|
||||
BOOL mac_post_connect(freerdp *inst);
|
||||
void mac_context_new(freerdp *inst, rdpContext *context);
|
||||
@ -139,7 +139,7 @@ void mac_send_rail_client_event(rdpChannels *channels, UINT16 event_type, void *
|
||||
void mac_on_free_rail_client_event(RDP_EVENT* event);
|
||||
void mac_process_rail_server_sysparam_event(rdpChannels* channels, RDP_EVENT* event);
|
||||
void mac_process_rail_exec_result_event(rdpChannels* channels, RDP_EVENT* event);
|
||||
void mac_rail_enable_remoteapp_mode();
|
||||
void mac_rail_enable_remoteapp_mode(void);
|
||||
void mac_process_rail_server_minmaxinfo_event(rdpChannels* channels, RDP_EVENT* event);
|
||||
void mac_process_rail_server_localmovesize_event(freerdp *inst, RDP_EVENT *event);
|
||||
void apple_center_window(NSRect * r);
|
||||
|
@ -52,8 +52,8 @@ typedef void* (*FREERDP_LOAD_CHANNEL_ADDIN_ENTRY_FN)(LPCSTR pszName, LPSTR pszSu
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FREERDP_API LPSTR freerdp_get_library_install_path();
|
||||
FREERDP_API LPSTR freerdp_get_dynamic_addin_install_path();
|
||||
FREERDP_API LPSTR freerdp_get_library_install_path(void);
|
||||
FREERDP_API LPSTR freerdp_get_dynamic_addin_install_path(void);
|
||||
|
||||
FREERDP_API int freerdp_register_addin_provider(FREERDP_LOAD_CHANNEL_ADDIN_ENTRY_FN provider, DWORD dwFlags);
|
||||
|
||||
|
@ -30,7 +30,7 @@ extern "C" {
|
||||
FREERDP_API int freerdp_client_parse_command_line_arguments(int argc, char** argv, rdpSettings* settings);
|
||||
FREERDP_API int freerdp_client_load_addins(rdpChannels* channels, rdpSettings* settings);
|
||||
|
||||
FREERDP_API int freerdp_client_print_version();
|
||||
FREERDP_API int freerdp_client_print_version(void);
|
||||
FREERDP_API int freerdp_client_print_command_line_help(int argc, char** argv);
|
||||
|
||||
FREERDP_API int freerdp_parse_username(char* username, char** user, char** domain);
|
||||
|
@ -141,7 +141,7 @@ FREERDP_API BOOL freerdp_client_parse_rdp_file(rdpFile* file, char* name);
|
||||
FREERDP_API BOOL freerdp_client_parse_rdp_file_buffer(rdpFile* file, BYTE* buffer, size_t size);
|
||||
FREERDP_API BOOL freerdp_client_populate_settings_from_rdp_file(rdpFile* file, rdpSettings* settings);
|
||||
|
||||
FREERDP_API rdpFile* freerdp_client_rdp_file_new();
|
||||
FREERDP_API rdpFile* freerdp_client_rdp_file_new(void);
|
||||
FREERDP_API void freerdp_client_rdp_file_free(rdpFile* file);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -206,7 +206,7 @@ FREERDP_API UINT32 freerdp_error_info(freerdp* instance);
|
||||
|
||||
FREERDP_API void freerdp_get_version(int* major, int* minor, int* revision);
|
||||
|
||||
FREERDP_API freerdp* freerdp_new();
|
||||
FREERDP_API freerdp* freerdp_new(void);
|
||||
FREERDP_API void freerdp_free(freerdp* instance);
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include <freerdp/api.h>
|
||||
#include <freerdp/gdi/gdi.h>
|
||||
|
||||
FREERDP_API HGDI_DC gdi_GetDC();
|
||||
FREERDP_API HGDI_DC gdi_GetDC(void);
|
||||
FREERDP_API HGDI_DC gdi_CreateDC(HCLRCONV clrconv, int bpp);
|
||||
FREERDP_API HGDI_DC gdi_CreateCompatibleDC(HGDI_DC hdc);
|
||||
FREERDP_API HGDIOBJECT gdi_SelectObject(HGDI_DC hdc, HGDIOBJECT hgdiobject);
|
||||
|
@ -24,6 +24,6 @@
|
||||
#include <freerdp/gdi/gdi.h>
|
||||
|
||||
FREERDP_API HGDI_PALETTE gdi_CreatePalette(HGDI_PALETTE palette);
|
||||
FREERDP_API HGDI_PALETTE gdi_GetSystemPalette();
|
||||
FREERDP_API HGDI_PALETTE gdi_GetSystemPalette(void);
|
||||
|
||||
#endif /* FREERDP_GDI_PALETTE_H */
|
||||
|
@ -230,8 +230,8 @@
|
||||
#define YORUBA 0x046A
|
||||
#define ZULU 0x0435
|
||||
|
||||
FREERDP_API UINT32 freerdp_get_system_locale_id();
|
||||
FREERDP_API UINT32 freerdp_detect_keyboard_layout_from_system_locale();
|
||||
FREERDP_API UINT32 freerdp_get_system_locale_id(void);
|
||||
FREERDP_API UINT32 freerdp_detect_keyboard_layout_from_system_locale(void);
|
||||
FREERDP_API const char* freerdp_get_system_locale_name_from_id(UINT32 localeId);
|
||||
|
||||
#endif /* FREERDP_LOCALE_H */
|
||||
|
@ -133,7 +133,7 @@ FREERDP_API MSUSB_INTERFACE_DESCRIPTOR* msusb_msinterface_read(BYTE* data, UINT3
|
||||
FREERDP_API int msusb_msinterface_write(MSUSB_INTERFACE_DESCRIPTOR* MsInterface, BYTE* data, int* offset);
|
||||
|
||||
/* MSUSB_CONFIG exported functions */
|
||||
FREERDP_API MSUSB_CONFIG_DESCRIPTOR* msusb_msconfig_new();
|
||||
FREERDP_API MSUSB_CONFIG_DESCRIPTOR* msusb_msconfig_new(void);
|
||||
FREERDP_API void msusb_msconfig_free(MSUSB_CONFIG_DESCRIPTOR* MsConfig);
|
||||
FREERDP_API MSUSB_CONFIG_DESCRIPTOR* msusb_msconfig_read(BYTE* data, UINT32 data_size, UINT32 NumInterfaces);
|
||||
FREERDP_API int msusb_msconfig_write(MSUSB_CONFIG_DESCRIPTOR* MsConfg, BYTE* data, int * offset);
|
||||
|
@ -40,9 +40,9 @@ FREERDP_API void profiler_free(PROFILER* profiler);
|
||||
FREERDP_API void profiler_enter(PROFILER* profiler);
|
||||
FREERDP_API void profiler_exit(PROFILER* profiler);
|
||||
|
||||
FREERDP_API void profiler_print_header();
|
||||
FREERDP_API void profiler_print_header(void);
|
||||
FREERDP_API void profiler_print(PROFILER* profiler);
|
||||
FREERDP_API void profiler_print_footer();
|
||||
FREERDP_API void profiler_print_footer(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ typedef struct _STOPWATCH STOPWATCH;
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FREERDP_API STOPWATCH* stopwatch_create();
|
||||
FREERDP_API STOPWATCH* stopwatch_create(void);
|
||||
FREERDP_API void stopwatch_free(STOPWATCH* stopwatch);
|
||||
|
||||
FREERDP_API void stopwatch_start(STOPWATCH* stopwatch);
|
||||
|
@ -36,8 +36,8 @@ FREERDP_API int freerdp_tcp_disconnect(int sockfd);
|
||||
|
||||
FREERDP_API int freerdp_tcp_set_no_delay(int sockfd, BOOL no_delay);
|
||||
|
||||
FREERDP_API int freerdp_wsa_startup();
|
||||
FREERDP_API int freerdp_wsa_cleanup();
|
||||
FREERDP_API int freerdp_wsa_startup(void);
|
||||
FREERDP_API int freerdp_wsa_cleanup(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
@ -34,7 +34,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
FREERDP_API UINT64 freerdp_windows_gmtime();
|
||||
FREERDP_API UINT64 freerdp_windows_gmtime(void);
|
||||
FREERDP_API UINT64 freerdp_get_windows_time_from_unix_time(time_t unix_time);
|
||||
FREERDP_API time_t freerdp_get_unix_time_from_windows_time(UINT64 windows_time);
|
||||
|
||||
|
@ -51,7 +51,7 @@ BOOL certificate_read_server_proprietary_certificate(rdpCertificate* certificate
|
||||
BOOL certificate_read_server_x509_certificate_chain(rdpCertificate* certificate, STREAM* s);
|
||||
int certificate_read_server_certificate(rdpCertificate* certificate, BYTE* server_cert, int length);
|
||||
|
||||
rdpCertificate* certificate_new();
|
||||
rdpCertificate* certificate_new(void);
|
||||
void certificate_free(rdpCertificate* certificate);
|
||||
|
||||
rdpRsaKey* key_new(const char *keyfile);
|
||||
|
@ -50,7 +50,7 @@ void http_context_set_cache_control(HttpContext* http_context, char* cache_contr
|
||||
void http_context_set_connection(HttpContext* http_context, char* connection);
|
||||
void http_context_set_pragma(HttpContext* http_context, char* pragma);
|
||||
|
||||
HttpContext* http_context_new();
|
||||
HttpContext* http_context_new(void);
|
||||
void http_context_free(HttpContext* http_context);
|
||||
|
||||
struct _http_request
|
||||
@ -74,7 +74,7 @@ void http_request_set_auth_param(HttpRequest* http_request, char* auth_param);
|
||||
|
||||
wStream* http_request_write(HttpContext* http_context, HttpRequest* http_request);
|
||||
|
||||
HttpRequest* http_request_new();
|
||||
HttpRequest* http_request_new(void);
|
||||
void http_request_free(HttpRequest* http_request);
|
||||
|
||||
struct _http_response
|
||||
@ -96,7 +96,7 @@ void http_response_print(HttpResponse* http_response);
|
||||
|
||||
HttpResponse* http_response_recv(rdpTls* tls);
|
||||
|
||||
HttpResponse* http_response_new();
|
||||
HttpResponse* http_response_new(void);
|
||||
void http_response_free(HttpResponse* http_response);
|
||||
|
||||
#endif /* FREERDP_CORE_HTTP_H */
|
||||
|
@ -36,7 +36,7 @@ BOOL rpc_ntlm_http_in_connect(rdpRpc* rpc);
|
||||
|
||||
void rpc_ntlm_http_init_channel(rdpRpc* rpc, rdpNtlmHttp* ntlm_http, TSG_CHANNEL channel);
|
||||
|
||||
rdpNtlmHttp* ntlm_http_new();
|
||||
rdpNtlmHttp* ntlm_http_new(void);
|
||||
void ntlm_http_free(rdpNtlmHttp* ntlm_http);
|
||||
|
||||
#endif
|
||||
|
@ -80,7 +80,7 @@ void ntlm_client_uninit(rdpNtlm* ntlm);
|
||||
|
||||
BOOL ntlm_client_make_spn(rdpNtlm* ntlm, LPCTSTR ServiceClass, char* hostname);
|
||||
|
||||
rdpNtlm* ntlm_new();
|
||||
rdpNtlm* ntlm_new(void);
|
||||
void ntlm_free(rdpNtlm* ntlm);
|
||||
|
||||
#endif /* FREERDP_CORE_NTLM_H */
|
||||
|
@ -208,7 +208,7 @@ void license_generate_hwid(rdpLicense* license);
|
||||
void license_encrypt_premaster_secret(rdpLicense* license);
|
||||
void license_decrypt_platform_challenge(rdpLicense* license);
|
||||
|
||||
PRODUCT_INFO* license_new_product_info();
|
||||
PRODUCT_INFO* license_new_product_info(void);
|
||||
void license_free_product_info(PRODUCT_INFO* productInfo);
|
||||
BOOL license_read_product_info(STREAM* s, PRODUCT_INFO* productInfo);
|
||||
|
||||
@ -217,7 +217,7 @@ void license_free_binary_blob(LICENSE_BLOB* blob);
|
||||
BOOL license_read_binary_blob(STREAM* s, LICENSE_BLOB* blob);
|
||||
void license_write_binary_blob(STREAM* s, LICENSE_BLOB* blob);
|
||||
|
||||
SCOPE_LIST* license_new_scope_list();
|
||||
SCOPE_LIST* license_new_scope_list(void);
|
||||
void license_free_scope_list(SCOPE_LIST* scopeList);
|
||||
BOOL license_read_scope_list(STREAM* s, SCOPE_LIST* scopeList);
|
||||
|
||||
|
@ -49,7 +49,7 @@ typedef struct rdp_redirection rdpRedirection;
|
||||
BOOL rdp_recv_redirection_packet(rdpRdp* rdp, STREAM* s);
|
||||
BOOL rdp_recv_enhanced_security_redirection_packet(rdpRdp* rdp, STREAM* s);
|
||||
|
||||
rdpRedirection* redirection_new();
|
||||
rdpRedirection* redirection_new(void);
|
||||
void redirection_free(rdpRedirection* redirection);
|
||||
|
||||
#ifdef WITH_DEBUG_REDIR
|
||||
|
@ -69,7 +69,7 @@ void mf_event_region_free(mfEventRegion* event_region);
|
||||
mfEvent* mf_event_new(int type);
|
||||
void mf_event_free(mfEvent* event);
|
||||
|
||||
mfEventQueue* mf_event_queue_new();
|
||||
mfEventQueue* mf_event_queue_new(void);
|
||||
void mf_event_queue_free(mfEventQueue* event_queue);
|
||||
|
||||
#endif /* __MF_EVENT_H */
|
@ -34,7 +34,7 @@ int mf_info_lock(mfInfo* mfi);
|
||||
int mf_info_try_lock(mfInfo* mfi, UINT32 ms);
|
||||
int mf_info_unlock(mfInfo* mfi);
|
||||
|
||||
mfInfo* mf_info_get_instance();
|
||||
mfInfo* mf_info_get_instance(void);
|
||||
void mf_info_peer_register(mfInfo* mfi, mfPeerContext* context);
|
||||
void mf_info_peer_unregister(mfInfo* mfi, mfPeerContext* context);
|
||||
|
||||
|
@ -25,14 +25,14 @@
|
||||
|
||||
int mf_mlion_display_info(UINT32* disp_width, UINT32* dispHeight, UINT32* scale);
|
||||
|
||||
int mf_mlion_screen_updates_init();
|
||||
int mf_mlion_screen_updates_init(void);
|
||||
|
||||
int mf_mlion_start_getting_screen_updates();
|
||||
int mf_mlion_stop_getting_screen_updates();
|
||||
int mf_mlion_start_getting_screen_updates(void);
|
||||
int mf_mlion_stop_getting_screen_updates(void);
|
||||
|
||||
int mf_mlion_get_dirty_region(RFX_RECT* invalid);
|
||||
int mf_mlion_peek_dirty_region(RFX_RECT* invalid);
|
||||
int mf_mlion_clear_dirty_region();
|
||||
int mf_mlion_clear_dirty_region(void);
|
||||
|
||||
int mf_mlion_get_pixelData(long x, long y, long width, long height, BYTE **pxData);
|
||||
|
||||
|
@ -60,7 +60,7 @@ struct _AQRecorderState
|
||||
typedef struct _AQRecorderState AQRecorderState;
|
||||
|
||||
BOOL mf_peer_rdpsnd_init(mfPeerContext* context);
|
||||
BOOL mf_peer_rdpsnd_stop();
|
||||
BOOL mf_peer_rdpsnd_stop(void);
|
||||
|
||||
#endif /* MF_RDPSND_H */
|
||||
|
||||
|
@ -29,7 +29,7 @@ int wf_info_lock(wfInfo* wfi);
|
||||
int wf_info_try_lock(wfInfo* wfi, DWORD dwMilliseconds);
|
||||
int wf_info_unlock(wfInfo* wfi);
|
||||
|
||||
wfInfo* wf_info_get_instance();
|
||||
wfInfo* wf_info_get_instance(void);
|
||||
void wf_info_peer_register(wfInfo* wfi, wfPeerContext* context);
|
||||
void wf_info_peer_unregister(wfInfo* wfi, wfPeerContext* context);
|
||||
|
||||
|
@ -118,12 +118,12 @@ FREERDP_API void set_screen_id(int id);
|
||||
FREERDP_API BOOL wfreerdp_server_start(wfServer* server);
|
||||
FREERDP_API BOOL wfreerdp_server_stop(wfServer* server);
|
||||
|
||||
FREERDP_API wfServer* wfreerdp_server_new();
|
||||
FREERDP_API wfServer* wfreerdp_server_new(void);
|
||||
FREERDP_API void wfreerdp_server_free(wfServer* server);
|
||||
|
||||
FREERDP_API BOOL wfreerdp_server_is_running(wfServer* server);
|
||||
|
||||
FREERDP_API UINT32 wfreerdp_server_num_peers();
|
||||
FREERDP_API UINT32 wfreerdp_server_num_peers(void);
|
||||
FREERDP_API UINT32 wfreerdp_server_get_peer_hostname(int pId, wchar_t * dstStr);
|
||||
FREERDP_API BOOL wfreerdp_server_peer_is_local(int pId);
|
||||
FREERDP_API BOOL wfreerdp_server_peer_is_connected(int pId);
|
||||
|
@ -41,7 +41,7 @@ void wf_peer_synchronize_event(rdpInput* input, UINT32 flags);
|
||||
|
||||
void wf_peer_send_changes(freerdp_peer* client);
|
||||
|
||||
void wf_detect_win_ver();
|
||||
void wf_detect_win_ver(void);
|
||||
|
||||
void wf_peer_accepted(freerdp_listener* instance, freerdp_peer* client);
|
||||
|
||||
|
@ -26,8 +26,8 @@
|
||||
|
||||
#include "wf_interface.h"
|
||||
|
||||
int wf_rdpsnd_lock();
|
||||
int wf_rdpsnd_unlock();
|
||||
int wf_rdpsnd_lock(void);
|
||||
int wf_rdpsnd_unlock(void);
|
||||
BOOL wf_peer_rdpsnd_init(wfPeerContext* context);
|
||||
|
||||
DWORD WINAPI wf_rdpsnd_thread(LPVOID lpParam);
|
||||
|
@ -69,7 +69,7 @@ void xf_event_region_free(xfEventRegion* event_region);
|
||||
xfEvent* xf_event_new(int type);
|
||||
void xf_event_free(xfEvent* event);
|
||||
|
||||
xfEventQueue* xf_event_queue_new();
|
||||
xfEventQueue* xf_event_queue_new(void);
|
||||
void xf_event_queue_free(xfEventQueue* event_queue);
|
||||
|
||||
#endif /* __XF_EVENT_H */
|
||||
|
@ -285,7 +285,7 @@ WINPR_API void MessageQueue_PostQuit(wMessageQueue* queue, int nExitCode);
|
||||
WINPR_API int MessageQueue_Get(wMessageQueue* queue, wMessage* message);
|
||||
WINPR_API int MessageQueue_Peek(wMessageQueue* queue, wMessage* message, BOOL remove);
|
||||
|
||||
WINPR_API wMessageQueue* MessageQueue_New();
|
||||
WINPR_API wMessageQueue* MessageQueue_New(void);
|
||||
WINPR_API void MessageQueue_Free(wMessageQueue* queue);
|
||||
|
||||
#endif /* WINPR_COLLECTIONS_H */
|
||||
|
@ -166,7 +166,7 @@ WINPR_API VOID WaitForThreadpoolIoCallbacks(PTP_IO pio, BOOL fCancelPendingCallb
|
||||
|
||||
/* Clean-up Group */
|
||||
|
||||
WINPR_API PTP_CLEANUP_GROUP CreateThreadpoolCleanupGroup();
|
||||
WINPR_API PTP_CLEANUP_GROUP CreateThreadpoolCleanupGroup(void);
|
||||
WINPR_API VOID CloseThreadpoolCleanupGroupMembers(PTP_CLEANUP_GROUP ptpcg, BOOL fCancelPendingCallbacks, PVOID pvCleanupContext);
|
||||
WINPR_API VOID CloseThreadpoolCleanupGroup(PTP_CLEANUP_GROUP ptpcg);
|
||||
|
||||
@ -203,6 +203,6 @@ WINPR_API VOID DisassociateCurrentThreadFromCallback(PTP_CALLBACK_INSTANCE pci);
|
||||
|
||||
/* Dummy */
|
||||
|
||||
WINPR_API void winpr_pool_dummy();
|
||||
WINPR_API void winpr_pool_dummy(void);
|
||||
|
||||
#endif /* WINPR_POOL_H */
|
||||
|
@ -508,7 +508,7 @@ WINPR_API RPC_STATUS RpcServerUseProtseqIfA(RPC_CSTR Protseq, unsigned int MaxCa
|
||||
WINPR_API RPC_STATUS RpcServerUseProtseqIfExA(RPC_CSTR Protseq, unsigned int MaxCalls, RPC_IF_HANDLE IfSpec, void* SecurityDescriptor, PRPC_POLICY Policy);
|
||||
WINPR_API RPC_STATUS RpcServerUseProtseqIfW(RPC_WSTR Protseq, unsigned int MaxCalls, RPC_IF_HANDLE IfSpec, void* SecurityDescriptor);
|
||||
WINPR_API RPC_STATUS RpcServerUseProtseqIfExW(RPC_WSTR Protseq, unsigned int MaxCalls, RPC_IF_HANDLE IfSpec, void* SecurityDescriptor, PRPC_POLICY Policy);
|
||||
WINPR_API void RpcServerYield();
|
||||
WINPR_API void RpcServerYield(void);
|
||||
WINPR_API RPC_STATUS RpcMgmtStatsVectorFree(RPC_STATS_VECTOR** StatsVector);
|
||||
WINPR_API RPC_STATUS RpcMgmtInqStats(RPC_BINDING_HANDLE Binding, RPC_STATS_VECTOR** Statistics);
|
||||
WINPR_API RPC_STATUS RpcMgmtIsServerListening(RPC_BINDING_HANDLE Binding);
|
||||
@ -529,7 +529,7 @@ WINPR_API RPC_STATUS RpcNsBindingInqEntryNameW(RPC_BINDING_HANDLE Binding, unsig
|
||||
|
||||
WINPR_API RPC_STATUS RpcImpersonateClient(RPC_BINDING_HANDLE BindingHandle);
|
||||
WINPR_API RPC_STATUS RpcRevertToSelfEx(RPC_BINDING_HANDLE BindingHandle);
|
||||
WINPR_API RPC_STATUS RpcRevertToSelf();
|
||||
WINPR_API RPC_STATUS RpcRevertToSelf(void);
|
||||
WINPR_API RPC_STATUS RpcBindingInqAuthClientA(RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE* Privs,
|
||||
RPC_CSTR* ServerPrincName, unsigned long* AuthnLevel, unsigned long* AuthnSvc, unsigned long* AuthzSvc);
|
||||
WINPR_API RPC_STATUS RpcBindingInqAuthClientW(RPC_BINDING_HANDLE ClientBinding, RPC_AUTHZ_HANDLE* Privs,
|
||||
@ -562,7 +562,7 @@ WINPR_API RPC_STATUS RpcServerRegisterAuthInfoW(RPC_WSTR ServerPrincName, unsign
|
||||
|
||||
WINPR_API RPC_STATUS RpcBindingServerFromClient(RPC_BINDING_HANDLE ClientBinding, RPC_BINDING_HANDLE* ServerBinding);
|
||||
WINPR_API DECLSPEC_NORETURN void RpcRaiseException(RPC_STATUS exception);
|
||||
WINPR_API RPC_STATUS RpcTestCancel();
|
||||
WINPR_API RPC_STATUS RpcTestCancel(void);
|
||||
WINPR_API RPC_STATUS RpcServerTestCancel(RPC_BINDING_HANDLE BindingHandle);
|
||||
WINPR_API RPC_STATUS RpcCancelThread(void* Thread);
|
||||
WINPR_API RPC_STATUS RpcCancelThreadEx(void* Thread, long Timeout);
|
||||
|
@ -996,8 +996,8 @@ WINPR_API SECURITY_STATUS SEC_ENTRY VerifySignature(PCtxtHandle phContext, PSecB
|
||||
|
||||
/* Custom API */
|
||||
|
||||
WINPR_API void sspi_GlobalInit();
|
||||
WINPR_API void sspi_GlobalFinish();
|
||||
WINPR_API void sspi_GlobalInit(void);
|
||||
WINPR_API void sspi_GlobalFinish(void);
|
||||
|
||||
WINPR_API void sspi_SecBufferAlloc(PSecBuffer SecBuffer, size_t size);
|
||||
WINPR_API void sspi_SecBufferFree(PSecBuffer SecBuffer);
|
||||
|
@ -69,8 +69,8 @@ struct _TP_CLEANUP_GROUP
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
PTP_POOL GetDefaultThreadpool();
|
||||
PTP_CALLBACK_ENVIRON GetDefaultThreadpoolEnvironment();
|
||||
PTP_POOL GetDefaultThreadpool(void);
|
||||
PTP_CALLBACK_ENVIRON GetDefaultThreadpoolEnvironment(void);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -30,7 +30,7 @@ struct _CREDSSP_CONTEXT
|
||||
};
|
||||
typedef struct _CREDSSP_CONTEXT CREDSSP_CONTEXT;
|
||||
|
||||
CREDSSP_CONTEXT* credssp_ContextNew();
|
||||
CREDSSP_CONTEXT* credssp_ContextNew(void);
|
||||
void credssp_ContextFree(CREDSSP_CONTEXT* context);
|
||||
|
||||
#endif /* WINPR_SSPI_CREDSSP_PRIVATE_H */
|
||||
|
@ -275,7 +275,7 @@ struct _NTLM_CONTEXT
|
||||
};
|
||||
typedef struct _NTLM_CONTEXT NTLM_CONTEXT;
|
||||
|
||||
NTLM_CONTEXT* ntlm_ContextNew();
|
||||
NTLM_CONTEXT* ntlm_ContextNew(void);
|
||||
void ntlm_ContextFree(NTLM_CONTEXT* context);
|
||||
|
||||
#ifdef WITH_DEBUG_NLA
|
||||
|
@ -45,7 +45,7 @@ struct _NEGOTIATE_CONTEXT
|
||||
};
|
||||
typedef struct _NEGOTIATE_CONTEXT NEGOTIATE_CONTEXT;
|
||||
|
||||
NEGOTIATE_CONTEXT* negotiate_ContextNew();
|
||||
NEGOTIATE_CONTEXT* negotiate_ContextNew(void);
|
||||
void negotiate_ContextFree(NEGOTIATE_CONTEXT* context);
|
||||
|
||||
#endif /* WINPR_SSPI_NEGOTIATE_PRIVATE_H */
|
||||
|
@ -42,7 +42,7 @@ struct _SCHANNEL_CONTEXT
|
||||
};
|
||||
typedef struct _SCHANNEL_CONTEXT SCHANNEL_CONTEXT;
|
||||
|
||||
SCHANNEL_CONTEXT* schannel_ContextNew();
|
||||
SCHANNEL_CONTEXT* schannel_ContextNew(void);
|
||||
void schannel_ContextFree(SCHANNEL_CONTEXT* context);
|
||||
|
||||
#endif /* WINPR_SSPI_SCHANNEL_PRIVATE_H */
|
||||
|
@ -52,7 +52,7 @@ SECURITY_STATUS schannel_openssl_server_process_tokens(SCHANNEL_OPENSSL* context
|
||||
SECURITY_STATUS schannel_openssl_encrypt_message(SCHANNEL_OPENSSL* context, PSecBufferDesc pMessage);
|
||||
SECURITY_STATUS schannel_openssl_decrypt_message(SCHANNEL_OPENSSL* context, PSecBufferDesc pMessage);
|
||||
|
||||
SCHANNEL_OPENSSL* schannel_openssl_new();
|
||||
SCHANNEL_OPENSSL* schannel_openssl_new(void);
|
||||
void schannel_openssl_free(SCHANNEL_OPENSSL* context);
|
||||
|
||||
#endif /* WINPR_SSPI_SCHANNEL_OPENSSL_H */
|
||||
|
@ -30,12 +30,12 @@ struct _CREDENTIALS
|
||||
};
|
||||
typedef struct _CREDENTIALS CREDENTIALS;
|
||||
|
||||
CREDENTIALS* sspi_CredentialsNew();
|
||||
CREDENTIALS* sspi_CredentialsNew(void);
|
||||
void sspi_CredentialsFree(CREDENTIALS* credentials);
|
||||
|
||||
PSecBuffer sspi_FindSecBuffer(PSecBufferDesc pMessage, ULONG BufferType);
|
||||
|
||||
SecHandle* sspi_SecureHandleAlloc();
|
||||
SecHandle* sspi_SecureHandleAlloc(void);
|
||||
void sspi_SecureHandleInit(SecHandle* handle);
|
||||
void sspi_SecureHandleInvalidate(SecHandle* handle);
|
||||
void* sspi_SecureHandleGetLowerPointer(SecHandle* handle);
|
||||
|
Loading…
Reference in New Issue
Block a user