|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T c
Length: 3004 (0xbbc) Types: TextFile Names: »commonarg.h«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/h/quipu/commonarg.h«
/* commonarg.h - directory operation common arguments */ /* * $Header: /f/osi/h/quipu/RCS/commonarg.h,v 7.0 89/11/23 21:56:25 mrose Rel $ * * * $Log: commonarg.h,v $ * Revision 7.0 89/11/23 21:56:25 mrose * Release 6.0 * */ /* * NOTICE * * Acquisition, use, and distribution of this module and related * materials are subject to the restrictions of a license agreement. * Consult the Preface in the User's Manual for the full terms of * this agreement. * */ #ifndef COMMONARG #define COMMONARG #include "quipu/attrvalue.h" #include "quipu/dsp.h" #include "quipu/authen.h" struct security_parms { struct certificate_list *sp_path; DN sp_name; char *sp_time; struct random_number *sp_random; char sp_target; }; typedef struct extension { int ext_id; int ext_critical; PE ext_item; struct extension * ext_next; } *Extension; #define NULLEXT ((Extension) 0) #define ext_alloc() (Extension) smalloc(sizeof(struct extension)) typedef struct common_args { /* Common arguments for operations */ ServiceControl ca_servicecontrol; DN ca_requestor; struct op_progress ca_progress; int ca_aliased_rdns; #define CA_NO_ALIASDEREFERENCED -1 struct security_parms * ca_security; struct signature * ca_sig; struct extension * ca_extensions; } common_args, CommonArgs; #define NULL_COMMONARG ((struct common_args *) NULL) typedef struct common_results { DN cr_requestor; /* Secuity stuff to go here. The */ /* is not relevant until this is added */ char cr_aliasdereferenced; /* set to TRUE or FALSE */ } common_results, CommonResults; typedef struct entrystruct { /* Represents EntryInformation */ DN ent_dn; Attr_Sequence ent_attr; int ent_iscopy; #define INFO_MASTER 0x001 #define INFO_COPY 0x002 /* This is the only info derivable by */ /* protocol */ /* INCA also distingusihes local cached */ #define INFO_CACHE 0x003 time_t ent_age; /* age of chaced info */ struct entrystruct *ent_next; } entrystruct, EntryInfo; #define NULLENTRYINFO ((EntryInfo *) 0) #define entryinfo_alloc() (EntryInfo *) smalloc(sizeof(EntryInfo)) #define entryinfo_cmp(x,y) (((dn_cmp (x.ent_dn ,y.ent_dn) == OK) && (as_cmp (x.ent_attr ,y.ent_attr) == OK)) ? OK : NOTOK) typedef struct entryinfoselection { /* Rerpesents EntryInformationSelection */ char eis_allattributes; /* if set to TRUE, all attributes */ /* returned, if not as per next arg */ Attr_Sequence eis_select; /* Sequence of attributes used to show */ /* which TYPES are wanted */ char eis_infotypes; #define EIS_ATTRIBUTETYPESONLY 0 #define EIS_ATTRIBUTESANDVALUES 1 }entryinfoselection, EntryInfoSelection; #endif