/[winpt]/trunk/Include/wptW32API.h
ViewVC logotype

Diff of /trunk/Include/wptW32API.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 22 by twoaday, Mon Jan 31 11:02:21 2005 UTC revision 23 by twoaday, Fri Sep 30 10:10:16 2005 UTC
# Line 37  enum { Line 37  enum {
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    
# Line 47  int gpg_md_selftest (void); Line 45  int gpg_md_selftest (void);
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  };  };
# Line 81  size_t get_file_size( const char *fname Line 77  size_t get_file_size( const char *fname
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);
# Line 91  void set_menu_text( HMENU menu, int m_ui Line 87  void set_menu_text( HMENU menu, int m_ui
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 );
# Line 104  const char * strtimestamp (long timestam Line 100  const char * strtimestamp (long timestam
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),

Legend:
Removed from v.22  
changed lines
  Added in v.23

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26