diff options
author | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:42:00 +0900 |
---|---|---|
committer | Jinkun Jang <jinkun.jang@samsung.com> | 2013-03-13 01:42:00 +0900 |
commit | e5089a282e42fa14bd97f5ac207b7a785ea1ad6b (patch) | |
tree | c32ad99e056611427c0fa239cefd21a4e0d67c3c /src/linux_cmn.h | |
parent | 90cac29ff492bc0577a40728868993726d61ac7f (diff) | |
download | epson-laser-printer-escpage-e5089a282e42fa14bd97f5ac207b7a785ea1ad6b.tar.gz epson-laser-printer-escpage-e5089a282e42fa14bd97f5ac207b7a785ea1ad6b.tar.bz2 epson-laser-printer-escpage-e5089a282e42fa14bd97f5ac207b7a785ea1ad6b.zip |
Tizen 2.1 base
Diffstat (limited to 'src/linux_cmn.h')
-rw-r--r-- | src/linux_cmn.h | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/linux_cmn.h b/src/linux_cmn.h new file mode 100644 index 0000000..1040936 --- /dev/null +++ b/src/linux_cmn.h @@ -0,0 +1,73 @@ +/*__________________________________ linux-cmn.h ___________________________________*/
+
+/* 1 2 3 4 5 6 7 8 */
+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
+/*******************************************|********************************************/
+/*
+ * Copyright (c) 2007 Seiko Epson Corporation All rights reserved.
+ *
+ * Copyright protection claimed includes all forms and matters of
+ * copyrightable material and information now allowed by statutory or judicial
+ * law or hereinafter granted, including without limitation, material generated
+ * from the software programs which are displayed on the screen such as icons,
+ * screen display looks, etc.
+ *
+ */
+/*******************************************|********************************************/
+/* */
+/* Linux platform depend External Definitions */
+/* */
+/* Function Calls */
+/* -------------------------- */
+/* void* epsmpMemAlloc (size ); */
+/* void epsmpMemFree (memblock ); */
+/* EPS_INT32 epsmpSleep (time ); */
+/* EPS_UINT32 epsmpGetTime (void ); */
+/* EPS_INT32 epsmpLockSync (void ); */
+/* EPS_INT32 epsmpUnlockSync (void ); */
+/* */
+/*******************************************|********************************************/
+#ifndef __LINUX_CMN__
+#define __LINUX_CMN__
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/*------------------------------------ Includes -------------------------------------*/
+/*******************************************|********************************************/
+#include "epson-typedefs.h"
+#include "epson-escpr-def.h"
+
+/*--------------------------- Public Function Declarations ---------------------------*/
+/*******************************************|********************************************/
+
+void* epsmpMemAlloc (size_t );
+void epsmpMemFree (void* );
+EPS_INT32 epsmpSleep (EPS_UINT32 );
+EPS_UINT32 epsmpGetTime (void );
+EPS_UINT32 epsmpGetLocalTime(EPS_LOCAL_TIME * );
+EPS_INT32 epsmpLockSync (void );
+EPS_INT32 epsmpUnlockSync (void );
+
+
+EPS_INT32 _kbhit (void );
+EPS_INT32 _getch (void );
+void _endthread (void );
+void InitMutex (void );
+void TermMutex (void );
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* def __LINUX_CMN__ */
+
+/*__________________________________ linux-cmn.h ___________________________________*/
+
+/*34567890123456789012345678901234567890123456789012345678901234567890123456789012345678*/
+/* 1 2 3 4 5 6 7 8 */
+/*******************************************|********************************************/
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
+/***** End of File *** End of File *** End of File *** End of File *** End of File ******/
+/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%|%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
|