~ubuntu-branches/ubuntu/trusty/psqlodbc/trusty-proposed

« back to all changes in this revision

Viewing changes to win_setup.h

  • Committer: Package Import Robot
  • Author(s): Martin Pitt
  • Date: 2013-10-24 07:21:55 UTC
  • mfrom: (16.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20131024072155-xlf5odyk3iblcd51
Tags: 1:09.02.0100-2ubuntu1
* Merge with Debian unstable. Remaining Ubuntu changes:
  - debian/tests: Disable iodbc test and dependency, as in Ubuntu iodbc and
    unixodbc are not installable in parallel, and iodbc is obsolete and
    should be removed at some point.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _WIN_SETUP_H__
2
 
#define _WIN_SETUP_H__
3
 
 
4
 
#ifndef INTFUNC
5
 
#define INTFUNC  __stdcall
6
 
#endif /* INTFUNC */
7
 
#define MAXDSNAME       (32+1)  /* Max data source name length */
8
 
/* Globals */
9
 
/* NOTE:  All these are used by the dialog procedures */
10
 
typedef struct tagSETUPDLG
11
 
{
12
 
        HWND            hwndParent;             /* Parent window handle */
13
 
        LPCSTR          lpszDrvr;               /* Driver description */
14
 
        ConnInfo        ci;
15
 
        char            szDSN[MAXDSNAME];               /* Original data source name */
16
 
        BOOL            fNewDSN;                /* New data source flag */
17
 
        BOOL            fDefault;               /* Default data source flag */
18
 
 
19
 
}       SETUPDLG, FAR * LPSETUPDLG;
20
 
 
21
 
/* Prototypes */
22
 
void INTFUNC CenterDialog(HWND hdlg);
23
 
LRESULT CALLBACK ConfigDlgProc(HWND hdlg, UINT wMsg, WPARAM wParam, LPARAM lParam);
24
 
void INTFUNC ParseAttributes(LPCSTR lpszAttributes, LPSETUPDLG lpsetupdlg);
25
 
BOOL INTFUNC SetDSNAttributes(HWND hwnd, LPSETUPDLG lpsetupdlg, DWORD *);
26
 
BOOL INTFUNC ChangeDriverName(HWND hwnd, LPSETUPDLG lpsetupdlg, LPCSTR driver_name);
27
 
 
28
 
#endif /* _WIN_SETUP_H__ */
 
1
#ifndef _WIN_SETUP_H__
 
2
#define _WIN_SETUP_H__
 
3
 
 
4
#ifndef INTFUNC
 
5
#define INTFUNC  __stdcall
 
6
#endif /* INTFUNC */
 
7
#define MAXDSNAME       (32+1)  /* Max data source name length */
 
8
/* Globals */
 
9
/* NOTE:  All these are used by the dialog procedures */
 
10
typedef struct tagSETUPDLG
 
11
{
 
12
        HWND            hwndParent;             /* Parent window handle */
 
13
        LPCSTR          lpszDrvr;               /* Driver description */
 
14
        ConnInfo        ci;
 
15
        char            szDSN[MAXDSNAME];               /* Original data source name */
 
16
        BOOL            fNewDSN;                /* New data source flag */
 
17
        BOOL            fDefault;               /* Default data source flag */
 
18
 
 
19
}       SETUPDLG, FAR * LPSETUPDLG;
 
20
 
 
21
/* Prototypes */
 
22
void INTFUNC CenterDialog(HWND hdlg);
 
23
LRESULT CALLBACK ConfigDlgProc(HWND hdlg, UINT wMsg, WPARAM wParam, LPARAM lParam);
 
24
void INTFUNC ParseAttributes(LPCSTR lpszAttributes, LPSETUPDLG lpsetupdlg);
 
25
BOOL INTFUNC SetDSNAttributes(HWND hwnd, LPSETUPDLG lpsetupdlg, DWORD *);
 
26
BOOL INTFUNC ChangeDriverName(HWND hwnd, LPSETUPDLG lpsetupdlg, LPCSTR driver_name);
 
27
 
 
28
#endif /* _WIN_SETUP_H__ */