Remove dynamic exceptions
[anna.git] / include / anna / diameter / helpers / tid / defines.hpp
1 // ANNA - Anna is Not Nothingness Anymore                                                         //
2 //                                                                                                //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
4 //                                                                                                //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite                           //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
7
8
9 #ifndef anna_diameter_helpers_tid_defines_hpp
10 #define anna_diameter_helpers_tid_defines_hpp
11
12
13 // Local
14 #include <anna/diameter/helpers/defines.hpp>
15
16 // STL
17 #include <string>
18
19 // TME
20 #include <anna/diameter/helpers/tid/codectypes/codectypes.hpp>
21
22
23 /** Contextualized definitions (avp id) */
24 #define anna_diameter_helpers_define_avp(avpname,code)  anna_diameter_helpers_define_avp_in_context(avpname,code,tid)
25
26 /** Contextualized definitions (avp id and values) */
27 #define anna_diameter_helpers_define_avp_with_values(avpname,code)  anna_diameter_helpers_define_avp_with_values_in_context(avpname,code,tid)
28
29
30 namespace anna {
31
32 namespace diameter {
33
34 namespace helpers {
35
36 namespace tid {
37
38
39 /**
40 * Avps
41 */
42 anna_diameter_helpers_define_avp(OCS_Service_Information, 300);
43 anna_diameter_helpers_define_avp(OCS_SMS_Content, 301);
44
45
46 /**
47 * Commands
48 */
49
50
51 }
52 }
53 }
54 }
55
56
57 #undef anna_diameter_helpers_define_avp
58 #undef anna_diameter_helpers_define_avp_with_values
59
60 #endif
61