37 |
extern "C" { |
extern "C" { |
38 |
#endif |
#endif |
39 |
|
|
|
extern "C" char * strsep (char * *,char const *); |
|
|
const char *memistr (const char *buf, size_t buflen, const char *sub); |
|
40 |
int gpg_md_hash_file (int mdalgo, const char *file, byte *digest, size_t *nlen); |
int gpg_md_hash_file (int mdalgo, const char *file, byte *digest, size_t *nlen); |
41 |
int gpg_md_selftest (void); |
int gpg_md_selftest (void); |
42 |
|
|
45 |
#endif |
#endif |
46 |
|
|
47 |
|
|
|
#define stristr(buf, sub) memistr ((buf), strlen ((buf)), (sub)) |
|
|
|
|
48 |
struct reminder_ctx_s { |
struct reminder_ctx_s { |
49 |
int msecs; |
int msecs; |
50 |
}; |
}; |
77 |
int get_window_contents( HWND old_hwnd, curr_wnd_ctx *ctx, int *r_hotkey ); |
int get_window_contents( HWND old_hwnd, curr_wnd_ctx *ctx, int *r_hotkey ); |
78 |
int set_window_contents( HWND old_hwnd, curr_wnd_ctx *ctx ); |
int set_window_contents( HWND old_hwnd, curr_wnd_ctx *ctx ); |
79 |
|
|
80 |
void center_window (HWND hwnd); |
void center_window (HWND hwndChild, HWND hwndParent); |
81 |
void center_window2 (HWND hwndChild, HWND style); |
void center_window2 (HWND hwndChild, HWND parent, HWND style); |
82 |
HANDLE window_reminder (struct reminder_ctx_s * ctx); |
HANDLE window_reminder (struct reminder_ctx_s * ctx); |
83 |
void set_active_window (HWND dlg); |
void set_active_window (HWND dlg); |
84 |
void reset_active_window (void); |
void reset_active_window (void); |
87 |
void set_menu_state( HMENU menu, int m_uid, int state ); |
void set_menu_state( HMENU menu, int m_uid, int state ); |
88 |
char* get_clip_text( HWND hwnd ); |
char* get_clip_text( HWND hwnd ); |
89 |
int set_clip_text (HWND hwnd, const char *text, int nbytes); |
int set_clip_text (HWND hwnd, const char *text, int nbytes); |
90 |
int set_clip_text2 (HWND hwnd, const char *text, int nbytes, int head_foot); |
int set_clip_text2 (HWND hwnd, const char *text, int nbytes, int as_footer); |
91 |
int dialog_box_param( HINSTANCE hinst, LPCTSTR name, HWND parent, DLGPROC fnc, |
int dialog_box_param( HINSTANCE hinst, LPCTSTR name, HWND parent, DLGPROC fnc, |
92 |
LPARAM param, LPCTSTR title, int title_id ); |
LPARAM param, LPCTSTR title, int title_id ); |
93 |
int msg_box( HWND hwnd, const char *text, const char *title, int mode ); |
int msg_box( HWND hwnd, const char *text, const char *title, int mode ); |
100 |
|
|
101 |
int rename_unlink (const char *path); |
int rename_unlink (const char *path); |
102 |
int secure_unlink (const char *path, const int mode); |
int secure_unlink (const char *path, const int mode); |
103 |
void secure_unlink_set_cb (void (*cb)(void *, const char *, int, unsigned, unsigned), |
void secure_unlink_set_cb (void (*cb)(void *, const char *, int, int, int), |
104 |
void *cb_value); |
void *cb_value); |
105 |
int wipe_freespace (const char * drive, HANDLE *r_fd, |
int wipe_freespace (const char * drive, HANDLE *r_fd, |
106 |
void (*cb)(void *, unsigned __int64, unsigned __int64), |
void (*cb)(void *, unsigned __int64, unsigned __int64), |