|
|
1.1 ! root 1: /* dsp.h - a few DSP things */ ! 2: ! 3: /* ! 4: * $Header: /f/osi/h/quipu/RCS/dsp.h,v 7.0 89/11/23 21:56:33 mrose Rel $ ! 5: * ! 6: * ! 7: * $Log: dsp.h,v $ ! 8: * Revision 7.0 89/11/23 21:56:33 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 DSP ! 25: #define DSP ! 26: ! 27: #include "isoaddrs.h" ! 28: #include "quipu/name.h" ! 29: ! 30: struct op_progress { /* represents OperationProgress */ ! 31: int op_resolution_phase; ! 32: #define OP_PHASE_NOTDEFINED -1 ! 33: #define OP_PHASE_NOTSTARTED 0 ! 34: #define OP_PHASE_PROCEEDING 1 ! 35: #define OP_PHASE_COMPLETED 2 ! 36: int op_nextrdntoberesolved; ! 37: }; ! 38: ! 39: struct access_point { /* represents AccessPoint */ ! 40: DN ap_name; ! 41: struct PSAPaddr * ap_address; ! 42: /* from ISODE */ ! 43: /* In INCA, this may be left out */ ! 44: struct access_point *ap_next; ! 45: }; ! 46: #define NULLACCESSPOINT ((struct access_point *) NULL) ! 47: ! 48: /* Continuation Ref definded in DSP */ ! 49: /* represents ContinuationReference */ ! 50: typedef struct continuation_ref { ! 51: DN cr_name; ! 52: struct op_progress cr_progress; ! 53: int cr_rdn_resolved; ! 54: #define CR_RDNRESOLVED_NOTDEFINED -1 ! 55: int cr_aliasedRDNs; ! 56: #define CR_NOALIASEDRDNS -1 ! 57: int cr_reftype; ! 58: #define RT_UNDEFINED -1 ! 59: #define RT_SUPERIOR 1 ! 60: #define RT_SUBORDINATE 2 ! 61: #define RT_CROSS 3 ! 62: #define RT_NONSPECIFICSUBORDINATE 4 ! 63: struct access_point * cr_accesspoints; ! 64: struct continuation_ref *cr_next; ! 65: /* for chaining Continuation Refs */ ! 66: /* They usually occur in SETs */ ! 67: }continuation_ref, *ContinuationRef; ! 68: ! 69: #define NULLCONTINUATIONREF ((ContinuationRef) 0) ! 70: ! 71: struct trace_info { ! 72: DN ti_target; ! 73: DN ti_dsa; ! 74: struct op_progress ti_progress; ! 75: struct trace_info *ti_next; ! 76: }; ! 77: ! 78: #define NULLTRACEINFO ((struct trace_info *) 0) ! 79: struct trace_info * ti_cpy(); ! 80: ! 81: /* THIS SECTION GIVES VARIOUS COMMON STRUCTURES */ ! 82: ! 83: typedef struct svccontrol { /* represents ServiceControls */ ! 84: int svc_options; ! 85: #define SVC_OPT_PREFERCHAIN 0X001 ! 86: #define SVC_OPT_CHAININGPROHIBIT 0X002 ! 87: #define SVC_OPT_LOCALSCOPE 0X004 ! 88: #define SVC_OPT_DONTUSECOPY 0X008 ! 89: #define SVC_OPT_DONTDEREFERENCEALIAS 0X010 ! 90: char svc_prio; ! 91: #define SVC_PRIO_LOW 0 ! 92: #define SVC_PRIO_MED 1 ! 93: #define SVC_PRIO_HIGH 2 ! 94: int svc_timelimit; /* time limit in second */ ! 95: #define SVC_NOTIMELIMIT -1 ! 96: int svc_sizelimit; ! 97: #define SVC_NOSIZELIMIT -1 ! 98: int svc_scopeofreferral; /* Parameter for DSP only */ ! 99: #define SVC_REFSCOPE_NONE -1 ! 100: #define SVC_REFSCOPE_DMD 0 ! 101: #define SVC_REFSCOPE_COUNTRY 1 ! 102: } svccontrol, ServiceControl; ! 103: ! 104: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.