~ubuntu-branches/ubuntu/wily/apparmor/wily

« back to all changes in this revision

Viewing changes to libraries/libapparmor/swig/SWIG/libapparmor.i

  • Committer: Bazaar Package Importer
  • Author(s): Kees Cook
  • Date: 2011-04-27 10:38:07 UTC
  • mfrom: (5.1.118 natty)
  • Revision ID: james.westby@ubuntu.com-20110427103807-ym3rhwys6o84ith0
Tags: 2.6.1-2
debian/copyright: clarify for some full organization names.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%module LibAppArmor
 
2
 
 
3
%{
 
4
#include "aalogparse.h"
 
5
#include "apparmor.h"
 
6
 
 
7
%}
 
8
 
 
9
%include "typemaps.i"
 
10
%include "aalogparse.h"
 
11
 
 
12
/* swig doesn't like the macro magic we do in apparmor.h so the fn prototypes
 
13
 * are manually inserted here
 
14
 */
 
15
 
 
16
extern int aa_change_hat(const char *subprofile, unsigned long magic_token);
 
17
extern int aa_change_profile(const char *profile);
 
18
extern int aa_change_onexec(const char *profile);
 
19
extern int aa_change_hatv(const char *subprofiles[], unsigned long token);
 
20
extern int aa_change_hat_vargs(unsigned long token, int count, ...);
 
21