From 825e963795172d4b93ff1435cf63137c5e217728 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Tue, 13 Mar 2001 05:22:01 +0000 Subject: add E_STRING_PROP for categories. 2001-03-12 Chris Toshok * backend/pas/pas-backend-ldap.c: add E_STRING_PROP for categories. * backend/pas/evolutionperson.schema: add categories attribute. * backend/ebook/e-card-simple.c (field_data): add E_CARD_SIMPLE_FIELD_CATEGORIES. * backend/ebook/e-card-simple.h: add E_CARD_SIMPLE_FIELD_CATEGORIES. svn path=/trunk/; revision=8664 --- addressbook/backend/pas/evolutionperson.schema | 8 +++++++- addressbook/backend/pas/pas-backend-ldap.c | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) (limited to 'addressbook/backend/pas') diff --git a/addressbook/backend/pas/evolutionperson.schema b/addressbook/backend/pas/evolutionperson.schema index 5fc41cc9f6..abd85fc01c 100644 --- a/addressbook/backend/pas/evolutionperson.schema +++ b/addressbook/backend/pas/evolutionperson.schema @@ -145,6 +145,12 @@ attributetype ( 666.666.666.1.22 SUBSTR telephoneNumberSubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) +attributetype ( 666.666.666.1.23 + NAME 'categories' + EQUALITY caseIgnoreMatch + SUBSTR caseIgnoreSubstringsMatch + SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{4096} ) + # evolutionPerson objectclass ( 666.666.666.2.1 NAME 'evolutionPerson' @@ -156,5 +162,5 @@ objectclass ( 666.666.666.2.1 otherPhone $ businessRole $ managerName $ assistantName $ assistantPhone $ otherPostalAddress $ mailer $ birthDate $ anniversary $ spouseName $ note $ companyPhone $ callbackPhone $ otherFacsimileTelephoneNumber $ - radio $ telex $ tty ) + radio $ telex $ tty $ categories ) ) diff --git a/addressbook/backend/pas/pas-backend-ldap.c b/addressbook/backend/pas/pas-backend-ldap.c index 88f32f70eb..0478c59ece 100644 --- a/addressbook/backend/pas/pas-backend-ldap.c +++ b/addressbook/backend/pas/pas-backend-ldap.c @@ -214,6 +214,7 @@ struct prop_info { E_STRING_PROP (E_CARD_SIMPLE_FIELD_MAILER, "mailer", "mailer"), E_STRING_PROP (E_CARD_SIMPLE_FIELD_FILE_AS, "file_as", "fileAs"), + E_STRING_PROP (E_CARD_SIMPLE_FIELD_CATEGORIES, "categories", "categories"), /* E_CARD_SIMPLE_FIELD_FBURL, */ /* E_CARD_SIMPLE_FIELD_NAME_OR_ORG, */ -- cgit v1.2.3