File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / h / quipu / list.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:56 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD43reno
BSD 4.3reno

/* list.h - */

/*
 * $Header: /var/lib/cvsd/repos/CSRG/43BSDReno/contrib/isode-beta/h/quipu/list.h,v 1.1.1.1 2018/04/24 16:12:56 root Exp $
 *
 *
 * $Log: list.h,v $
 * Revision 1.1.1.1  2018/04/24 16:12:56  root
 * BSD 4.3reno
 *
 * Revision 7.0  89/11/23  21:56:37  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 QUIPULIST
#define QUIPULIST

#include "quipu/commonarg.h"
#include "quipu/ds_error.h"
#include "quipu/dap.h"

struct ds_list_arg {
    CommonArgs lsa_common;
    DN lsa_object;
};

/*
.VE
.VS
*/
struct subordinate {
    RDN sub_rdn;
    char sub_aliasentry;        /* set to TRUE or FALSE                 */
    char sub_copy;              /* set to TRUE or FALSE                 */
    struct subordinate *sub_next;
};
#define NULLSUBORD (struct subordinate *) NULL
struct subordinate	* subord_comp_new();

/*
.VE
.VS
*/
struct ds_list_result {
    CommonResults lsr_common;
    DN lsr_object;
    time_t lsr_age;
    struct subordinate *lsr_subordinates;
    int lsr_limitproblem;
#define LSR_NOLIMITPROBLEM      -1
#define LSR_TIMELIMITEXCEEDED   0
#define LSR_SIZELIMITEXCEEDED   1
#define LSR_ADMINSIZEEXCEEDED   2
    ContinuationRef     lsr_cr;
};
				/* Note uncorrelated will need to be    */
				/* added in to do the secure stuff      */
				/* in a distributed manner              */
				/* this also applies to search          */


struct list_cache {
	DN              list_dn;
	struct subordinate *list_subs;
	struct subordinate *list_sub_top;
	int             list_count;
	int             list_problem;
	struct list_cache *list_next;
};

#define NULLCACHE (struct list_cache *) NULL

struct list_cache *find_list_cache ();

#endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.