WYRDTEK Home Features Reference Downloads About



int es_mbm_new( int membershiptype, struct es_mbm **res );


int membershiptype Membership type. Must be either ES_MEMBERSHIP_IN or ES_MEMBERSHIP_NOTIN.
struct es_mbm **res Assigned result. Passed by reference.

Return Codes

ES_ERROR_NONE Success. No errors.
ES_ERROR_UNKNOWNMEMBERTYPE Invalid membership type.


Construct a new membership filter. A filter represents a set of either valid or invalid integer values that a database field may have. A membership type of ES_MEMBERSHIP_IN denotes valid values and a type of ES_MEMBERSHIP_NOTIN denotes invalid values.

Membership filters are destroyed via es_mbm_delete().

[Back To Reference] [Back To Reference/es_mbm]