twain_32: Mark some functions static and other internal ones hidden.
This commit is contained in:
parent
dae65898e2
commit
2c1d581ced
|
@ -35,6 +35,10 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(twain);
|
WINE_DEFAULT_DEBUG_CHANNEL(twain);
|
||||||
|
|
||||||
|
static TW_UINT16 DSM_initialized; /* whether Source Manager is initialized */
|
||||||
|
static TW_UINT32 DSM_sourceId; /* source id generator */
|
||||||
|
static TW_UINT16 DSM_currentDevice; /* keep track of device during enumeration */
|
||||||
|
|
||||||
struct all_devices {
|
struct all_devices {
|
||||||
char *modname;
|
char *modname;
|
||||||
TW_IDENTITY identity;
|
TW_IDENTITY identity;
|
||||||
|
|
|
@ -39,32 +39,29 @@ typedef struct tagActiveDS
|
||||||
DSENTRYPROC dsEntry;
|
DSENTRYPROC dsEntry;
|
||||||
} activeDS;
|
} activeDS;
|
||||||
|
|
||||||
TW_UINT16 DSM_initialized; /* whether Source Manager is initialized */
|
TW_UINT16 DSM_currentState DECLSPEC_HIDDEN; /* current state of Source Manager */
|
||||||
TW_UINT16 DSM_currentState; /* current state of Source Manager */
|
TW_UINT16 DSM_twCC DECLSPEC_HIDDEN; /* current condition code of Source Manager */
|
||||||
TW_UINT16 DSM_twCC; /* current condition code of Source Manager */
|
|
||||||
TW_UINT32 DSM_sourceId; /* source id generator */
|
|
||||||
TW_UINT16 DSM_currentDevice; /* keep track of device during enumeration */
|
|
||||||
|
|
||||||
activeDS *activeSources; /* list of active data sources */
|
activeDS *activeSources DECLSPEC_HIDDEN; /* list of active data sources */
|
||||||
|
|
||||||
/* Implementation of operation triplets (From Application to Source Manager) */
|
/* Implementation of operation triplets (From Application to Source Manager) */
|
||||||
extern TW_UINT16 TWAIN_CloseDS
|
extern TW_UINT16 TWAIN_CloseDS
|
||||||
(pTW_IDENTITY pOrigin, TW_MEMREF pData);
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
||||||
extern TW_UINT16 TWAIN_IdentityGetDefault
|
extern TW_UINT16 TWAIN_IdentityGetDefault
|
||||||
(pTW_IDENTITY pOrigin, TW_MEMREF pData);
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
||||||
extern TW_UINT16 TWAIN_IdentityGetFirst
|
extern TW_UINT16 TWAIN_IdentityGetFirst
|
||||||
(pTW_IDENTITY pOrigin, TW_MEMREF pData);
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
||||||
extern TW_UINT16 TWAIN_IdentityGetNext
|
extern TW_UINT16 TWAIN_IdentityGetNext
|
||||||
(pTW_IDENTITY pOrigin, TW_MEMREF pData);
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
||||||
extern TW_UINT16 TWAIN_OpenDS
|
extern TW_UINT16 TWAIN_OpenDS
|
||||||
(pTW_IDENTITY pOrigin, TW_MEMREF pData);
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
||||||
extern TW_UINT16 TWAIN_UserSelect
|
extern TW_UINT16 TWAIN_UserSelect
|
||||||
(pTW_IDENTITY pOrigin, TW_MEMREF pData);
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
||||||
extern TW_UINT16 TWAIN_CloseDSM
|
extern TW_UINT16 TWAIN_CloseDSM
|
||||||
(pTW_IDENTITY pOrigin, TW_MEMREF pData);
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
||||||
extern TW_UINT16 TWAIN_OpenDSM
|
extern TW_UINT16 TWAIN_OpenDSM
|
||||||
(pTW_IDENTITY pOrigin, TW_MEMREF pData);
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
||||||
extern TW_UINT16 TWAIN_GetDSMStatus
|
extern TW_UINT16 TWAIN_GetDSMStatus
|
||||||
(pTW_IDENTITY pOrigin, TW_MEMREF pData);
|
(pTW_IDENTITY pOrigin, TW_MEMREF pData) DECLSPEC_HIDDEN;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue