| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- /** BEGIN COPYRIGHT BLOCK
- * Copyright (C) 2001 Sun Microsystems, Inc. Used by permission.
- * Copyright (C) 2005 Red Hat, Inc.
- * All rights reserved.
- * END COPYRIGHT BLOCK **/
- #ifndef _ava_h
- #define _ava_h
- #define ENTRIES_ALLOCSIZE 100
- #define ORGS_ALLOCSIZE 15
- #ifdef XP_WIN32
- #define NSAPI_PUBLIC __declspec(dllexport)
- #else /* !XP_WIN32 */
- #define NSAPI_PUBLIC
- #endif
- typedef struct {
- char *email;
- char *locality;
- char *userid;
- char *state;
- char *country;
- char *company;
- int numOrgs;
- char **organizations;
- char *CNEntry;
- } AVAEntry;
- typedef struct {
- char *userdb;
- int numEntries;
- AVAEntry **enteredTable;
- } AVATable;
- #endif
|