File:  [CSRG BSD Unix] / 43BSDReno / contrib / isode-beta / others / mosy / mosy.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

/* mosy.h - include file for MOSY users */

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

#include "manifest.h"
#include "general.h"

#include "psap.h"		/* definitions for PS-USERs */

/*  */

typedef struct object_type {
    char   *ot_text;		/* OBJECT DESCRIPTOR */
    char   *ot_id;		/* OBJECT IDENTIFIER */
    OID	    ot_name;		/*   .. */

    IFP     ot_encode;		/* encodes type */
    IFP     ot_decode;		/* decodes .. */
    IFP     ot_print;		/* prints .. */
    IFP     ot_free;		/* frees .. */

    struct object_type *ot_chain;	/* hash-bucket for text2obj */

    struct object_type *ot_sibling;	/* linked-list for name2obj */
    struct object_type *ot_children;	/*   .. */
}		object_type, *OT;
#define	NULLOT	((OT) 0)

OT	name2obj (), text2obj ();


struct object_name {
    char   *on_name;		/* OBJECT DESCRIPTOR */
    char   *on_value;		/* OBJECT IDENTIFIER */
};

#endif

unix.superglobalmegacorp.com

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