1 /******************************************************************************
2 *
3 * Copyright (C) 2006, The Gentee Group. All rights reserved.
4 * This file is part of the Gentee open source project - http://www.gentee.com.
5 *
6 * THIS FILE IS PROVIDED UNDER THE TERMS OF THE GENTEE LICENSE ("AGREEMENT").
7 * ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS
8 * ACCEPTANCE OF THE AGREEMENT.
9 *
10 * ID: alias 06.07.07 0.0.A.
11 *
12 * Author: Alexey Krivonogov ( gentee )
13 *
14 * Summary: alias
15 *
16 ******************************************************************************/
17
18 #ifndef _ALIAS_
19 #define _ALIAS_
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif // __cplusplus
24
25 #include "lexem.h"
26
27 #define alias_getid( x ) ((povmalias)PCMD( x ))->idlink
28 #define alias_setid( x, y ) ((povmalias)PCMD( x ))->idlink = (y)
29
30 //--------------------------------------------------------------------------
31
32 plexem STDCALL alias_add( plexem plex, puint pid );
33
34 //--------------------------------------------------------------------------
35
36 #ifdef __cplusplus
37 }
38 #endif // __cplusplus
39
40 #endif // _ALIAS_
41