SysLink API Reference  2.21.03.11
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs | Functions
GateSem.h File Reference

Detailed Description

Header file for Gate based on Semaphore.

Go to the source code of this file.

Macros

#define GateSem_E_INVALIDARG   -1
 Argument passed to a function is invalid.
#define GateSem_E_MEMORY   -2
 Memory allocation failed.
#define GateSem_E_BUSY   -3
 The name is already registered or not.
#define GateSem_E_FAIL   -4
 Generic failure.
#define GateSem_E_NOTFOUND   -5
 Name not found in the nameserver.
#define GateSem_E_INVALIDSTATE   -6
 Module is not initialized.
#define GateSem_E_INUSE   -7
 Indicates that the instance is in use.
#define GateSem_E_HANDLE   -8
 An invalid handle was provided.
#define GateSem_S_SUCCESS   0
 Operation successful.

Typedefs

typedef struct GateSem_Object GateSem_Object
 Object for GateSem.
typedef GateSem_ObjectGateSem_Handle
 Handle for GateSem.
typedef Void GateSem_Params

Functions

GateSem_Handle GateSem_create (const GateSem_Params *params)
Int GateSem_delete (GateSem_Handle *handle)

Macro Definition Documentation

#define GateSem_E_INVALIDARG   -1

Argument passed to a function is invalid.

#define GateSem_E_MEMORY   -2

Memory allocation failed.

#define GateSem_E_BUSY   -3

The name is already registered or not.

#define GateSem_E_FAIL   -4

Generic failure.

#define GateSem_E_NOTFOUND   -5

Name not found in the nameserver.

#define GateSem_E_INVALIDSTATE   -6

Module is not initialized.

#define GateSem_E_INUSE   -7

Indicates that the instance is in use.

#define GateSem_E_HANDLE   -8

An invalid handle was provided.

#define GateSem_S_SUCCESS   0

Operation successful.


Typedef Documentation

Object for GateSem.

Handle for GateSem.

No parameters for GateSem creation


Function Documentation

GateSem_Handle GateSem_create ( const GateSem_Params params)
Int GateSem_delete ( GateSem_Handle handle)
Copyright 2014, Texas Instruments Incorporated