~ubuntu-branches/ubuntu/intrepid/lasso/intrepid-updates

« back to all changes in this revision

Viewing changes to swig/saml-2.0/saml2_conditions.i

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-11-01 20:01:20 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071101200120-9ruoui67n24xyz9c
Tags: 2.1.1-2ubuntu1
* Merge from debian unstable (LP: #134095), remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
  + configure{,.ac}:
    - Add missing quotes around the value for PHP[45]_LIBS.
* Fix two lintian warnings:
  + debian/control:
    - liblasso3-dev: Replace ${Source-Version} with ${binary:Version}
  + debian/rules:
    - Don't ignore a make clean error.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: saml2_conditions.i 3385 2007-08-21 11:17:52Z fpeters $ 
 
2
 *
 
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
 
4
 *
 
5
 * Copyright (C) 2004-2007 Entr'ouvert
 
6
 * http://lasso.entrouvert.org
 
7
 * 
 
8
 * Authors: See AUTHORS file in top-level directory.
 
9
 *
 
10
 * This program is free software; you can redistribute it and/or modify
 
11
 * it under the terms of the GNU General Public License as published by
 
12
 * the Free Software Foundation; either version 2 of the License, or
 
13
 * (at your option) any later version.
 
14
 * 
 
15
 * This program is distributed in the hope that it will be useful,
 
16
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
17
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
18
 * GNU General Public License for more details.
 
19
 * 
 
20
 * You should have received a copy of the GNU General Public License
 
21
 * along with this program; if not, write to the Free Software
 
22
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
23
 */
1
24
 
2
 
#ifndef SWIGPHP4
 
25
#ifndef SWIG_PHP_RENAMES
3
26
%rename(Saml2Conditions) LassoSaml2Conditions;
4
27
#endif
5
28
typedef struct {
6
 
#ifndef SWIGPHP4
 
29
#ifndef SWIG_PHP_RENAMES
7
30
        %rename(notBefore) NotBefore;
8
31
#endif
9
32
        char *NotBefore;
10
 
#ifndef SWIGPHP4
 
33
#ifndef SWIG_PHP_RENAMES
11
34
        %rename(notOnOrAfter) NotOnOrAfter;
12
35
#endif
13
36
        char *NotOnOrAfter;
14
37
} LassoSaml2Conditions;
15
38
%extend LassoSaml2Conditions {
16
 
#ifndef SWIGPHP4
 
39
 
 
40
#ifndef SWIG_PHP_RENAMES
17
41
        %rename(condition) Condition;
18
42
#endif
19
43
        %newobject Condition_get;
20
44
        LassoNodeList *Condition;
21
45
 
22
 
#ifndef SWIGPHP4
 
46
#ifndef SWIG_PHP_RENAMES
23
47
        %rename(audienceRestriction) AudienceRestriction;
24
48
#endif
25
49
        %newobject AudienceRestriction_get;
26
50
        LassoNodeList *AudienceRestriction;
27
51
 
 
52
#ifndef SWIG_PHP_RENAMES
 
53
        %rename(oneTimeUse) OneTimeUse;
 
54
#endif
 
55
        %newobject OneTimeUse_get;
 
56
        LassoNodeList *OneTimeUse;
 
57
 
 
58
#ifndef SWIG_PHP_RENAMES
 
59
        %rename(proxyRestriction) ProxyRestriction;
 
60
#endif
 
61
        %newobject ProxyRestriction_get;
 
62
        LassoNodeList *ProxyRestriction;
 
63
 
 
64
 
28
65
        /* Constructor, Destructor & Static Methods */
29
66
        LassoSaml2Conditions();
30
67
        ~LassoSaml2Conditions();
40
77
 
41
78
#define LassoSaml2Conditions_get_Condition(self) get_node_list((self)->Condition)
42
79
#define LassoSaml2Conditions_Condition_get(self) get_node_list((self)->Condition)
43
 
#define LassoSaml2Conditions_set_Condition(self, value) set_node_list(&(self)->Condition, (value))
44
 
#define LassoSaml2Conditions_Condition_set(self, value) set_node_list(&(self)->Condition, (value))
 
80
#define LassoSaml2Conditions_set_Condition(self,value) set_node_list(&(self)->Condition, (value))
 
81
#define LassoSaml2Conditions_Condition_set(self,value) set_node_list(&(self)->Condition, (value))
 
82
                    
45
83
 
46
84
/* AudienceRestriction */
47
85
 
48
86
#define LassoSaml2Conditions_get_AudienceRestriction(self) get_node_list((self)->AudienceRestriction)
49
87
#define LassoSaml2Conditions_AudienceRestriction_get(self) get_node_list((self)->AudienceRestriction)
50
 
#define LassoSaml2Conditions_set_AudienceRestriction(self, value) set_node_list(&(self)->AudienceRestriction, (value))
51
 
#define LassoSaml2Conditions_AudienceRestriction_set(self, value) set_node_list(&(self)->AudienceRestriction, (value))
52
 
 
53
 
 
 
88
#define LassoSaml2Conditions_set_AudienceRestriction(self,value) set_node_list(&(self)->AudienceRestriction, (value))
 
89
#define LassoSaml2Conditions_AudienceRestriction_set(self,value) set_node_list(&(self)->AudienceRestriction, (value))
 
90
                    
 
91
 
 
92
/* OneTimeUse */
 
93
 
 
94
#define LassoSaml2Conditions_get_OneTimeUse(self) get_node_list((self)->OneTimeUse)
 
95
#define LassoSaml2Conditions_OneTimeUse_get(self) get_node_list((self)->OneTimeUse)
 
96
#define LassoSaml2Conditions_set_OneTimeUse(self,value) set_node_list(&(self)->OneTimeUse, (value))
 
97
#define LassoSaml2Conditions_OneTimeUse_set(self,value) set_node_list(&(self)->OneTimeUse, (value))
 
98
                    
 
99
 
 
100
/* ProxyRestriction */
 
101
 
 
102
#define LassoSaml2Conditions_get_ProxyRestriction(self) get_node_list((self)->ProxyRestriction)
 
103
#define LassoSaml2Conditions_ProxyRestriction_get(self) get_node_list((self)->ProxyRestriction)
 
104
#define LassoSaml2Conditions_set_ProxyRestriction(self,value) set_node_list(&(self)->ProxyRestriction, (value))
 
105
#define LassoSaml2Conditions_ProxyRestriction_set(self,value) set_node_list(&(self)->ProxyRestriction, (value))
 
106
                    
54
107
 
55
108
 
56
109
/* Constructors, destructors & static methods implementations */