20 #ifndef MAKECERT_TOOL_H
21 #define MAKECERT_TOOL_H
23 #include <winpr/winpr.h>
24 #include <winpr/wtypes.h>
30 typedef struct S_MAKECERT_CONTEXT MAKECERT_CONTEXT;
32 WINPR_API
int makecert_context_process(MAKECERT_CONTEXT* context,
int argc,
char** argv);
34 WINPR_API
int makecert_context_set_output_file_name(MAKECERT_CONTEXT* context,
36 WINPR_API
int makecert_context_output_certificate_file(MAKECERT_CONTEXT* context,
38 WINPR_API
int makecert_context_output_private_key_file(MAKECERT_CONTEXT* context,
41 WINPR_API
void makecert_context_free(MAKECERT_CONTEXT* context);
43 WINPR_ATTR_MALLOC(makecert_context_free, 1)
44 WINPR_API MAKECERT_CONTEXT* makecert_context_new(
void);