Subversion Repositories tendra.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    		 Crown Copyright (c) 1997
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
 
30
 
31
#ifndef NAMESPACE_INCLUDED
32
#define NAMESPACE_INCLUDED
33
 
34
 
35
/*
36
    NAMESPACE DECLARATIONS
37
 
38
    The routines in this module are concerned with the construction and
39
    manipulation of namespaces.
40
*/
41
 
42
extern void begin_declarator PROTO_S ( ( IDENTIFIER, QUALIFIER, NAMESPACE, int ) ) ;
43
extern void end_declarator PROTO_S ( ( IDENTIFIER, int ) ) ;
44
extern void begin_namespace PROTO_S ( ( IDENTIFIER, int ) ) ;
45
extern void end_namespace PROTO_S ( ( int ) ) ;
46
extern void alias_namespace PROTO_S ( ( IDENTIFIER, NAMESPACE ) ) ;
47
extern void using_namespace PROTO_S ( ( NAMESPACE ) ) ;
48
extern int use_namespace PROTO_S ( ( NAMESPACE, NAMESPACE, NAMESPACE ) ) ;
49
extern void target_decl PROTO_S ( ( int, EXP ) ) ;
50
extern void begin_decl_block PROTO_S ( ( IDENTIFIER ) ) ;
51
extern int end_decl_block PROTO_S ( ( IDENTIFIER, int ) ) ;
52
extern void clear_decl_blocks PROTO_S ( ( void ) ) ;
53
extern NAMESPACE find_namespace PROTO_S ( ( IDENTIFIER ) ) ;
54
extern NAMESPACE find_nspace_id PROTO_S ( ( IDENTIFIER ) ) ;
55
extern int has_linkage PROTO_S ( ( IDENTIFIER ) ) ;
56
 
57
extern NAMESPACE make_namespace PROTO_S ( ( IDENTIFIER, unsigned, int ) ) ;
58
extern NAMESPACE make_global_nspace PROTO_S ( ( CONST char *, int ) ) ;
59
extern void uncache_namespace PROTO_S ( ( NAMESPACE, int ) ) ;
60
extern void add_namespace PROTO_S ( ( NAMESPACE ) ) ;
61
extern void remove_namespace PROTO_S ( ( void ) ) ;
62
extern void push_namespace PROTO_S ( ( NAMESPACE ) ) ;
63
extern void store_namespace PROTO_S ( ( NAMESPACE ) ) ;
64
extern NAMESPACE pop_namespace PROTO_S ( ( void ) ) ;
65
extern NAMESPACE restore_namespace PROTO_S ( ( void ) ) ;
66
extern int add_nested_nspace PROTO_S ( ( NAMESPACE ) ) ;
67
extern int remove_nested_nspace PROTO_S ( ( NAMESPACE ) ) ;
68
extern int is_subnspace PROTO_S ( ( NAMESPACE, NAMESPACE ) ) ;
69
extern void update_namespace PROTO_S ( ( void ) ) ;
70
extern void check_hiding PROTO_S ( ( IDENTIFIER ) ) ;
71
extern void init_namespace PROTO_S ( ( void ) ) ;
72
 
73
extern MEMBER search_member PROTO_S ( ( NAMESPACE, HASHID, int ) ) ;
74
extern IDENTIFIER search_id PROTO_S ( ( NAMESPACE, HASHID, int, int ) ) ;
75
extern IDENTIFIER find_id PROTO_S ( ( HASHID ) ) ;
76
extern IDENTIFIER find_type_id PROTO_S ( ( HASHID, int ) ) ;
77
extern IDENTIFIER find_qual_id PROTO_S ( ( NAMESPACE, HASHID, int, int ) ) ;
78
extern IDENTIFIER find_extern_id PROTO_S ( ( HASHID, NAMESPACE, int ) ) ;
79
extern IDENTIFIER check_id PROTO_S ( ( NAMESPACE, IDENTIFIER, int ) ) ;
80
extern IDENTIFIER type_member PROTO_S ( ( MEMBER, int ) ) ;
81
extern MEMBER update_member PROTO_S ( ( NAMESPACE, MEMBER ) ) ;
82
extern void set_type_member PROTO_S ( ( MEMBER, IDENTIFIER ) ) ;
83
extern void set_member PROTO_S ( ( MEMBER, IDENTIFIER ) ) ;
84
extern void clear_member PROTO_S ( ( NAMESPACE, HASHID ) ) ;
85
extern IDENTIFIER find_op_id PROTO_S ( ( HASHID ) ) ;
86
extern void remove_id PROTO_S ( ( IDENTIFIER ) ) ;
87
 
88
extern STACK ( NAMESPACE ) local_nspace_stack ;
89
extern STACK ( NAMESPACE ) crt_nspace_stack ;
90
extern STACK ( NAMESPACE ) namespace_stack ;
91
extern NAMESPACE nonblock_namespace ;
92
extern NAMESPACE nonclass_namespace ;
93
extern NAMESPACE global_namespace ;
94
extern NAMESPACE token_namespace ;
95
extern NAMESPACE last_namespace ;
96
extern NAMESPACE qual_namespace ;
97
extern NAMESPACE crt_namespace ;
98
extern NAMESPACE c_namespace ;
99
extern int old_cache_lookup ;
100
extern int cache_lookup ;
101
 
102
 
103
#endif