Research
.
Skip Search Box

SELinux Mailing List

Re: [RFC][PATCH] extending the libsepol API

From: Ivan Gyurdiev <ivg2_at_cornell.edu>
Date: Mon, 27 Mar 2006 19:42:34 -0500

>>> Also iterators can be used consistently across the
>>> entire API and every usage is the same as far as the user is concerned.
>>>

So, that's essentially an "Iterable" interface that you want to create, which is implemented by all records.
I like OOP ideas, and inheritance/interfaces... otoh I don't like void* and casting from it.

I think OOP ideas help when you want to put multiple object types in the same framework - is this necessary here? I don't think it increases readability otherwise.

By the way, this argument extends to the dbase interface in libsemanage.

--
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.
Received on Mon 27 Mar 2006 - 19:42:52 EST
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service