summaryrefslogtreecommitdiff
path: root/software/include/oct6100api/oct6100_apiud.h
diff options
context:
space:
mode:
Diffstat (limited to 'software/include/oct6100api/oct6100_apiud.h')
-rw-r--r--software/include/oct6100api/oct6100_apiud.h29
1 files changed, 16 insertions, 13 deletions
diff --git a/software/include/oct6100api/oct6100_apiud.h b/software/include/oct6100api/oct6100_apiud.h
index 4076688..f05dec5 100644
--- a/software/include/oct6100api/oct6100_apiud.h
+++ b/software/include/oct6100api/oct6100_apiud.h
@@ -2,7 +2,7 @@
File: oct6100_apiud.h
- Copyright (c) 2001-2006 Octasic Inc.
+ Copyright (c) 2001-2007 Octasic Inc.
Description:
@@ -23,9 +23,9 @@ You should have received a copy of the GNU General Public License
along with the OCT6100 GPL API; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
-$Octasic_Release: OCT612xAPI-01.00-PR47 $
+$Octasic_Release: OCT612xAPI-01.00-PR48 $
-$Octasic_Revision: 15 $
+$Octasic_Revision: 16 $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
@@ -128,6 +128,9 @@ $Octasic_Revision: 15 $
/***************************** TYPES ***************************************/
+/*Change this type if your platform uses 64bits semaphores/locks */
+typedef UINT32 tOCT6100_USER_SERIAL_OBJECT;
+
typedef struct _OCT6100_GET_TIME_
{
PVOID pProcessContext;
@@ -141,34 +144,34 @@ typedef struct _OCT6100_GET_TIME_
typedef struct _OCT6100_CREATE_SERIALIZE_OBJECT_
{
- PVOID pProcessContext;
- PSZ pszSerialObjName;
- UINT32 ulSerialObjHndl;
+ PVOID pProcessContext;
+ PSZ pszSerialObjName;
+ tOCT6100_USER_SERIAL_OBJECT ulSerialObjHndl;
} tOCT6100_CREATE_SERIALIZE_OBJECT, *tPOCT6100_CREATE_SERIALIZE_OBJECT;
typedef struct _OCT6100_DESTROY_SERIALIZE_OBJECT_
{
- PVOID pProcessContext;
- UINT32 ulSerialObjHndl;
+ PVOID pProcessContext;
+ tOCT6100_USER_SERIAL_OBJECT ulSerialObjHndl;
} tOCT6100_DESTROY_SERIALIZE_OBJECT, *tPOCT6100_DESTROY_SERIALIZE_OBJECT;
typedef struct _OCT6100_SEIZE_SERIALIZE_OBJECT_
{
- PVOID pProcessContext;
- UINT32 ulSerialObjHndl;
- UINT32 ulTryTimeMs;
+ PVOID pProcessContext;
+ tOCT6100_USER_SERIAL_OBJECT ulSerialObjHndl;
+ UINT32 ulTryTimeMs;
} tOCT6100_SEIZE_SERIALIZE_OBJECT, *tPOCT6100_SEIZE_SERIALIZE_OBJECT;
typedef struct _OCT6100_RELEASE_SERIALIZE_OBJECT_
{
- PVOID pProcessContext;
- UINT32 ulSerialObjHndl;
+ PVOID pProcessContext;
+ tOCT6100_USER_SERIAL_OBJECT ulSerialObjHndl;
} tOCT6100_RELEASE_SERIALIZE_OBJECT, *tPOCT6100_RELEASE_SERIALIZE_OBJECT;