|
|
1.1 ! root 1: /* modify.h - */ ! 2: ! 3: /* ! 4: * $Header: /f/osi/h/quipu/RCS/modify.h,v 7.0 89/11/23 21:56:39 mrose Rel $ ! 5: * ! 6: * ! 7: * $Log: modify.h,v $ ! 8: * Revision 7.0 89/11/23 21:56:39 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 QUIPUMOD ! 25: #define QUIPUMOD ! 26: ! 27: #include "quipu/commonarg.h" ! 28: #include "quipu/ds_error.h" ! 29: #include "quipu/dap.h" ! 30: ! 31: struct entrymod { ! 32: int em_type; ! 33: #define EM_ADDATTRIBUTE 0 ! 34: #define EM_REMOVEATTRIBUTE 1 ! 35: #define EM_ADDVALUES 2 ! 36: #define EM_REMOVEVALUES 3 ! 37: Attr_Sequence em_what; /* holds a single attribute. the values */ ! 38: /* ignored for remove attribute */ ! 39: struct entrymod *em_next; ! 40: }; ! 41: ! 42: #define NULLMOD (struct entrymod *)NULL ! 43: #define em_alloc() (struct entrymod *) smalloc (sizeof (struct entrymod)) ! 44: ! 45: struct ds_modifyentry_arg { ! 46: CommonArgs mea_common; ! 47: DN mea_object; ! 48: struct entrymod *mea_changes; ! 49: }; ! 50: ! 51: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.