|
|
1.1 ! root 1: /* list.h - */ ! 2: ! 3: /* ! 4: * $Header: /f/osi/h/quipu/RCS/list.h,v 7.0 89/11/23 21:56:37 mrose Rel $ ! 5: * ! 6: * ! 7: * $Log: list.h,v $ ! 8: * Revision 7.0 89/11/23 21:56:37 mrose ! 9: * Release 6.0 ! 10: * ! 11: */ ! 12: ! 13: /* ! 14: * NOTICE ! 15: * ! 16: * Acquisition, use, and distribution of this module and related ! 17: * materials are subject to the restrictions of a license agreement. ! 18: * Consult the Preface in the User's Manual for the full terms of ! 19: * this agreement. ! 20: * ! 21: */ ! 22: ! 23: ! 24: #ifndef QUIPULIST ! 25: #define QUIPULIST ! 26: ! 27: #include "quipu/commonarg.h" ! 28: #include "quipu/ds_error.h" ! 29: #include "quipu/dap.h" ! 30: ! 31: struct ds_list_arg { ! 32: CommonArgs lsa_common; ! 33: DN lsa_object; ! 34: }; ! 35: ! 36: /* ! 37: .VE ! 38: .VS ! 39: */ ! 40: struct subordinate { ! 41: RDN sub_rdn; ! 42: char sub_aliasentry; /* set to TRUE or FALSE */ ! 43: char sub_copy; /* set to TRUE or FALSE */ ! 44: struct subordinate *sub_next; ! 45: }; ! 46: #define NULLSUBORD (struct subordinate *) NULL ! 47: struct subordinate * subord_comp_new(); ! 48: ! 49: /* ! 50: .VE ! 51: .VS ! 52: */ ! 53: struct ds_list_result { ! 54: CommonResults lsr_common; ! 55: DN lsr_object; ! 56: time_t lsr_age; ! 57: struct subordinate *lsr_subordinates; ! 58: int lsr_limitproblem; ! 59: #define LSR_NOLIMITPROBLEM -1 ! 60: #define LSR_TIMELIMITEXCEEDED 0 ! 61: #define LSR_SIZELIMITEXCEEDED 1 ! 62: #define LSR_ADMINSIZEEXCEEDED 2 ! 63: ContinuationRef lsr_cr; ! 64: }; ! 65: /* Note uncorrelated will need to be */ ! 66: /* added in to do the secure stuff */ ! 67: /* in a distributed manner */ ! 68: /* this also applies to search */ ! 69: ! 70: ! 71: struct list_cache { ! 72: DN list_dn; ! 73: struct subordinate *list_subs; ! 74: struct subordinate *list_sub_top; ! 75: int list_count; ! 76: int list_problem; ! 77: struct list_cache *list_next; ! 78: }; ! 79: ! 80: #define NULLCACHE (struct list_cache *) NULL ! 81: ! 82: struct list_cache *find_list_cache (); ! 83: ! 84: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.