20 #ifndef FREERDP_EXTENSION_H
21 #define FREERDP_EXTENSION_H
23 #include <freerdp/api.h>
24 #include <freerdp/types.h>
26 #define FREERDP_EXT_EXPORT_FUNC_NAME "FreeRDPExtensionEntry"
38 int (*init)(rdpExtPlugin* plugin, freerdp* instance);
39 int (*uninit)(rdpExtPlugin* plugin, freerdp* instance);
42 typedef UINT32(FREERDP_CC* PFREERDP_EXTENSION_HOOK)(rdpExtPlugin* plugin, freerdp* instance);
44 typedef UINT32(FREERDP_CC* PREGISTEREXTENSION)(rdpExtPlugin* plugin);
45 typedef UINT32(FREERDP_CC* PREGISTERPRECONNECTHOOK)(rdpExtPlugin* plugin,
46 PFREERDP_EXTENSION_HOOK hook);
47 typedef UINT32(FREERDP_CC* PREGISTERPOSTCONNECTHOOK)(rdpExtPlugin* plugin,
48 PFREERDP_EXTENSION_HOOK hook);
53 PREGISTEREXTENSION pRegisterExtension;
54 PREGISTERPRECONNECTHOOK pRegisterPreConnectHook;
55 PREGISTERPOSTCONNECTHOOK pRegisterPostConnectHook;