]> git.sur5r.net Git - openldap/blob - libraries/msdos/winsock/ltest/console.h
Allow using real db1 on glibc 2.1 instead of the db1 compatiblity in db2.
[openldap] / libraries / msdos / winsock / ltest / console.h
1 /*\r
2  * console.h -- defines for a simple windows console emulator\r
3  * 27 June 1993 by Mark C Smith\r
4  */\r
5 \r
6 #define IDM_FILE          1000\r
7 #define IDM_F_OPENLDAP      1050\r
8 #define IDM_F_EXIT          1100\r
9 #define DLG_GETLINE_TEXT            102\r
10 \r
11 #define exit( e )       appexit( e ); return( e )\r
12 \r
13 void perror( char *msg );\r
14 int printf( char *fmt, ... );\r
15 int fprintf( FILE *f, char *fmt, ... );\r
16 void appexit( int rc );\r
17 char *getline( char *line, int len, FILE *s, char *prompt );\r
18 LONG FAR PASCAL WndProc( HWND, WORD, WORD, LONG );\r
19 BOOL FAR PASCAL GetLineDlgProc(HWND hWndDlg, WORD Message, WORD wParam, LONG lParam);\r