1 /*__________________________________ linux-cmn.h ___________________________________*/
\r
3 /* 1 2 3 4 5 6 7 8 */
\r
4 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
\r
5 /*******************************************|********************************************/
\r
7 * Copyright (c) 2007 Seiko Epson Corporation All rights reserved.
\r
9 * Copyright protection claimed includes all forms and matters of
\r
10 * copyrightable material and information now allowed by statutory or judicial
\r
11 * law or hereinafter granted, including without limitation, material generated
\r
12 * from the software programs which are displayed on the screen such as icons,
\r
13 * screen display looks, etc.
\r
16 /*******************************************|********************************************/
\r
18 /* Linux platform depend External Definitions */
\r
20 /* Function Calls */
\r
21 /* -------------------------- */
\r
22 /* void* epsmpMemAlloc (size ); */
\r
23 /* void epsmpMemFree (memblock ); */
\r
24 /* EPS_INT32 epsmpSleep (time ); */
\r
25 /* EPS_UINT32 epsmpGetTime (void ); */
\r
26 /* EPS_INT32 epsmpLockSync (void ); */
\r
27 /* EPS_INT32 epsmpUnlockSync (void ); */
\r
29 /*******************************************|********************************************/
\r
30 #ifndef __LINUX_CMN__
\r
31 #define __LINUX_CMN__
\r
37 /*------------------------------------ Includes -------------------------------------*/
\r
38 /*******************************************|********************************************/
\r
39 #include "epson-typedefs.h"
\r
40 #include "epson-escpr-def.h"
\r
42 /*--------------------------- Public Function Declarations ---------------------------*/
\r
43 /*******************************************|********************************************/
\r
45 void* epsmpMemAlloc (size_t );
\r
46 void epsmpMemFree (void* );
\r
47 EPS_INT32 epsmpSleep (EPS_UINT32 );
\r
48 EPS_UINT32 epsmpGetTime (void );
\r
49 EPS_UINT32 epsmpGetLocalTime(EPS_LOCAL_TIME * );
\r
50 EPS_INT32 epsmpLockSync (void );
\r
51 EPS_INT32 epsmpUnlockSync (void );
\r
54 EPS_INT32 _kbhit (void );
\r
55 EPS_INT32 _getch (void );
\r
56 void _endthread (void );
\r
57 void InitMutex (void );
\r
58 void TermMutex (void );
\r
64 #endif /* def __LINUX_CMN__ */
\r
66 /*__________________________________ linux-cmn.h ___________________________________*/
\r
68 /*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
\r
69 /* 1 2 3 4 5 6 7 8 */
\r
70 /*******************************************|********************************************/
\r
71 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
\r
72 /***** End of File *** End of File *** End of File *** End of File *** End of File ******/
\r
73 /*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
\r