31 lines
419 B
C
31 lines
419 B
C
|
|
#ifndef __CELOXICA_LINK_H__
|
|
#define __CELOXICA_LINK_H__
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
|
|
#define CREATE_USER_LINK(TYPE) \
|
|
struct _Link##TYPE \
|
|
{ \
|
|
TYPE *Next; \
|
|
}; \
|
|
typedef struct _Link##TYPE Link##TYPE
|
|
|
|
struct _LinkLL
|
|
{
|
|
struct _LinkLL *Next;
|
|
};
|
|
typedef struct _LinkLL LinkLL;
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|