Deleted Added
full compact
sig_party.c (131826) sig_party.c (133492)
1/*
2 * Copyright (c) 1996-2003
3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 12 unchanged lines hidden (view full) ---

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * Author: Hartmut Brandt <harti@freebsd.org>
28 *
1/*
2 * Copyright (c) 1996-2003
3 * Fraunhofer Institute for Open Communication Systems (FhG Fokus).
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

--- 12 unchanged lines hidden (view full) ---

21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 *
27 * Author: Hartmut Brandt <harti@freebsd.org>
28 *
29 * $Begemot: libunimsg/netnatm/sig/sig_party.c,v 1.17 2004/07/08 08:22:21 brandt Exp $
29 * $Begemot: libunimsg/netnatm/sig/sig_party.c,v 1.18 2004/08/05 07:11:01 brandt Exp $
30 *
31 * Party instance handling
32 */
33
34#include <netnatm/unimsg.h>
35#include <netnatm/saal/sscfudef.h>
36#include <netnatm/msg/unistruct.h>
37#include <netnatm/msg/unimsglib.h>
38#include <netnatm/sig/uni.h>
39
40#include <netnatm/sig/unipriv.h>
41#include <netnatm/sig/unimkmsg.h>
42#include <netnatm/sig/unimsgcpy.h>
43
44static void drop_partyE(struct party *p);
45static int epstate_compat(struct party *, enum uni_epstate);
46
30 *
31 * Party instance handling
32 */
33
34#include <netnatm/unimsg.h>
35#include <netnatm/saal/sscfudef.h>
36#include <netnatm/msg/unistruct.h>
37#include <netnatm/msg/unimsglib.h>
38#include <netnatm/sig/uni.h>
39
40#include <netnatm/sig/unipriv.h>
41#include <netnatm/sig/unimkmsg.h>
42#include <netnatm/sig/unimsgcpy.h>
43
44static void drop_partyE(struct party *p);
45static int epstate_compat(struct party *, enum uni_epstate);
46
47#define DEF_PRIV_SIG(NAME, FROM) [SIG##NAME] "SIG"#NAME,
47#define DEF_PRIV_SIG(NAME, FROM) [SIG##NAME] = "SIG"#NAME,
48static const char *const party_sigs[] = {
49 DEF_PARTY_SIGS
50};
51#undef DEF_PRIV_SIG
52
53TIMER_FUNC_PARTY(t397, t397_func)
54TIMER_FUNC_PARTY(t398, t398_func)
55TIMER_FUNC_PARTY(t399, t399_func)

--- 1298 unchanged lines hidden ---
48static const char *const party_sigs[] = {
49 DEF_PARTY_SIGS
50};
51#undef DEF_PRIV_SIG
52
53TIMER_FUNC_PARTY(t397, t397_func)
54TIMER_FUNC_PARTY(t398, t398_func)
55TIMER_FUNC_PARTY(t399, t399_func)

--- 1298 unchanged lines hidden ---