29 |
HWND focus; |
HWND focus; |
30 |
}; |
}; |
31 |
|
|
|
struct LOCK { |
|
|
char *file; |
|
|
int size; |
|
|
HANDLE fh; |
|
|
}; |
|
|
|
|
|
|
|
32 |
/*-- wptMAPI.cpp --*/ |
/*-- wptMAPI.cpp --*/ |
33 |
int mapi_init (void); |
int mapi_init (void); |
34 |
int mapi_send_pubkey (const char * keyid, char * keyfile); |
int mapi_send_pubkey (const char * keyid, char * keyfile); |
37 |
|
|
38 |
/*-- wptW32API.cpp --*/ |
/*-- wptW32API.cpp --*/ |
39 |
char* make_filename (const char *path, const char *file, const char *ext); |
char* make_filename (const char *path, const char *file, const char *ext); |
|
int init_file_lock (LOCK *ctx, const char *file); |
|
|
void release_file_lock (LOCK *ctx); |
|
40 |
int file_exist_check (const char *fname); |
int file_exist_check (const char *fname); |
41 |
int dir_exist_check (const char *dir); |
int dir_exist_check (const char *dir); |
42 |
DWORD get_file_size (const char *fname); |
DWORD get_file_size (const char *fname); |