aboutsummaryrefslogtreecommitdiffstats
path: root/sualibrary/sua/sua_snm_mgnt.h
blob: 41aaecc79084c9cc06e8d96d8d1746a5f4fa46b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
/***************************************************************************
                          sua_snm_mgnt.h  -  description
                             -------------------
    begin                : Tue Nov 5 2002
    copyright            : (C) 2002 by Lode Coene
    email                : lode.coene@siemens.atea.be
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/
/*
 *  $Id: sua_snm_mgnt.h,v 1.3 2003/08/28 09:30:20 p82609 Exp $
 *
 * SUA implementation according to SUA draft issue 14.
 *
 * Author(s): Lode Coene
 *            
 *
 * Copyright (C) 2001 by Siemens Atea, Herentals, Belgium.
 *
 * Realized in co-operation between Siemens Atea and 
 * Siemens AG, Munich, Germany.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 *
 * Contact: gery.verwimp@siemens.atea.be
 *          lode.coene@siemens.atea.be
 *
 * Purpose: This header-file defines the SUA management handling functions for
 *          sending and receiving Application Server Process(ASP) messages:  
 */

#ifndef SUA_SNM_MGNT_H
#define SUA_SNM_MGNT_H

#include "sua.h"
#include "sua_syntax.h"

#include <string>

typedef enum { ssnm_unavailable,
	       ssnm_available,
	       ssnm_reserved
} snm_Sua_pc_state_set ;

int sua_send_DAVA( unsigned int     Sua_assoc_id,
		   SS7union         pc
		  );

int sua_send_DUNA( unsigned int     Sua_assoc_id,
		   SS7union         pc
		  );

int process_DUNA_msg ( unsigned int      sua_assoc_id,
		       int	         local_sua_id,
		       int	         remote_sua_id,
		       Sua_container	 sua_asp_msg
		       );

int process_DAVA_msg ( unsigned int      sua_assoc_id,
		       int	         local_sua_id,
		       int	         remote_sua_id,
		       Sua_container	 sua_asp_msg
		       );

int process_DAUD_msg ( unsigned int      sua_assoc_id,
		       int	         local_sua_id,
		       int	         remote_sua_id,
		       Sua_container	 sua_asp_msg
		       );

int process_SCON_msg ( unsigned int      sua_assoc_id,
		       int	         local_sua_id,
		       int	         remote_sua_id,
		       Sua_container	 sua_asp_msg
		       );

int process_DUPU_msg ( unsigned int      sua_assoc_id,
		       int	         local_sua_id,
		       int	         remote_sua_id,
		       Sua_container	 sua_asp_msg
		       );

int process_DRST_msg ( unsigned int      sua_assoc_id,
		       int	         local_sua_id,
		       int	         remote_sua_id,
		       Sua_container	 sua_asp_msg
		       );

#endif  // SUA_SNM_MGNT_H

//end of module sua_snm_mgnt.h