From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <43ADB905.8090801@cornell.edu> Date: Sat, 24 Dec 2005 16:09:25 -0500 From: Ivan Gyurdiev MIME-Version: 1.0 To: SELinux List CC: Stephen Smalley , Daniel J Walsh Subject: [SEMANAGE] Swig update Content-Type: multipart/mixed; boundary="------------080703040705020208040100" Sender: owner-selinux@tycho.nsa.gov List-Id: selinux@tycho.nsa.gov This is a multi-part message in MIME format. --------------080703040705020208040100 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit This updates the swig interfaces (adding ports and active booleans), and reorders the headers so they make sense. I haven't checked if the port typemap things are correct - just uncommented. I remember last time I updated swig interfaces I wrote to the wrap file directly, instead of the interface (didn't realize it was autogenerated) - maybe make clean should get rid of it to avoid confusion. --------------080703040705020208040100 Content-Type: text/x-patch; name="libsemanage9.swig_update.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="libsemanage9.swig_update.diff" diff -Naurp --exclude-from excludes old/libsemanage/src/semanageswig.i new/libsemanage/src/semanageswig.i --- old/libsemanage/src/semanageswig.i 2005-12-24 16:03:22.000000000 -0500 +++ new/libsemanage/src/semanageswig.i 2005-12-24 15:41:15.000000000 -0500 @@ -147,7 +147,6 @@ /* the wrapper will setup this parameter for passing... the resulting python functions will not take the semanage_port_t *** parameter */ -/* %typemap(in, numinputs=0) semanage_port_t ***(semanage_port_t **temp) { $1 = &temp; } @@ -171,27 +170,25 @@ %typemap(in, numinputs=0) semanage_port_key_t **(semanage_port_key_t *temp) { $1 = &temp; } -*/ /* pull in the headers */ -%include "../include/semanage/boolean_record.h" %include "../include/semanage/debug.h" -%include "../include/semanage/interfaces_policy.h" -%include "../include/semanage/booleans_local.h" -%include "../include/semanage/handle.h" -%include "../include/semanage/modules.h" -%include "../include/semanage/semanage.h" +%include "../include/semanage/handle.h" +%include "../include/semanage/modules.h" +%include "../include/semanage/context_record.h" +%include "../include/semanage/boolean_record.h" +%include "../include/semanage/booleans_policy.h" +%include "../include/semanage/booleans_local.h" +%include "../include/semanage/booleans_active.h" +%include "../include/semanage/iface_record.h" +%include "../include/semanage/interfaces_local.h" +%include "../include/semanage/interfaces_policy.h" %include "../include/semanage/user_record.h" -%include "../include/semanage/booleans_policy.h" -%include "../include/semanage/iface_record.h" -%include "../include/semanage/seuser_record.h" %include "../include/semanage/users_local.h" -%include "../include/semanage/context_record.h" -%include "../include/semanage/interfaces_local.h" -%include "../include/semanage/seusers.h" %include "../include/semanage/users_policy.h" -/* %include "../include/semanage/port_record.h" %include "../include/semanage/ports_local.h" %include "../include/semanage/ports_policy.h" -*/ +%include "../include/semanage/seuser_record.h" +%include "../include/semanage/seusers.h" +%include "../include/semanage/semanage.h" --------------080703040705020208040100-- -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.