~ubuntu-branches/ubuntu/hardy/lasso/hardy

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Michael Bienia
  • Date: 2007-07-31 21:35:26 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20070731213526-oc6jw5mprcd5tjyy
Tags: 2.0.0-1ubuntu1
* Merge from debian unstable. Remaining changes:
  + debian/control:
    - Modify Maintainer value to match DebianMaintainerField spec.
* debian/rules:
  + Add CC=gcc-4.2 to the configure call else configure won't find jni.h
    from libgcj8-dev.
* configure{,.ac}:
  + Add missing quotes around the value for PHP[45]_LIBS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
%rename(Samlp2RequestedAuthnContext) LassoSamlp2RequestedAuthnContext;
4
4
#endif
5
5
typedef struct {
6
 
        char *AuthnContextClassRef;
7
 
        char *AuthnContextDeclRef;
 
6
#ifndef SWIGPHP4
 
7
        %rename(comparison) Comparison;
 
8
#endif
8
9
        char *Comparison;
9
10
} LassoSamlp2RequestedAuthnContext;
10
11
%extend LassoSamlp2RequestedAuthnContext {
 
12
        %newobject authnContextClassRef_get;
 
13
        LassoStringList *authnContextClassRef;
11
14
 
 
15
        %newobject authnContextDeclRef_get;
 
16
        LassoStringList *authnContextDeclRef;
12
17
 
13
18
        /* Constructor, Destructor & Static Methods */
14
19
        LassoSamlp2RequestedAuthnContext();
21
26
 
22
27
%{
23
28
 
 
29
/* authnContextClassRef */
 
30
#define LassoSamlp2RequestedAuthnContext_get_authnContextClassRef(self) get_string_list((self)->AuthnContextClassRef)
 
31
#define LassoSamlp2RequestedAuthnContext_authnContextClassRef_get(self) get_string_list((self)->AuthnContextClassRef)
 
32
#define LassoSamlp2RequestedAuthnContext_set_authnContextClassRef(self, value) set_string_list(&(self)->AuthnContextClassRef, (value))
 
33
#define LassoSamlp2RequestedAuthnContext_authnContextClassRef_set(self, value) set_string_list(&(self)->AuthnContextClassRef, (value))
 
34
 
 
35
/* authnContextDeclRef */
 
36
#define LassoSamlp2RequestedAuthnContext_get_authnContextDeclRef(self) get_string_list((self)->AuthnContextDeclRef)
 
37
#define LassoSamlp2RequestedAuthnContext_authnContextDeclRef_get(self) get_string_list((self)->AuthnContextDeclRef)
 
38
#define LassoSamlp2RequestedAuthnContext_set_authnContextDeclRef(self, value) set_string_list(&(self)->AuthnContextDeclRef, (value))
 
39
#define LassoSamlp2RequestedAuthnContext_authnContextDeclRef_set(self, value) set_string_list(&(self)->AuthnContextDeclRef, (value))
 
40
 
24
41
 
25
42
/* Constructors, destructors & static methods implementations */
26
43