|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - downloadIndex: T d
Length: 3165 (0xc5d) Types: TextFile Names: »dsarg_prn.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/dsap/x500as/dsarg_prn.c«
/* dsarg_prn.c - ds argument printer */ /* * 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. * */ #include "psap.h" #include "quipu/util.h" #include "quipu/common.h" #include "quipu/dsargument.h" extern LLog * log_dsap; int print_OPArgument(ctx, pe, type) int ctx; PE pe; int type; { int success; if(ctx == CN_CTX_X500_DAP) { success = print_DAPArgument(pe, type); } else { success = print_DSPArgument(pe, type); } return(success); } int print_DAPArgument(pe,type) PE pe; int type; { int success; switch(type) { case OP_READ : success = print_DAS_ReadArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_COMPARE : success = print_DAS_CompareArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_ABANDON : success = print_DAS_AbandonArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_LIST : success = print_DAS_ListArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_SEARCH : success = print_DAS_SearchArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_ADDENTRY : success = print_DAS_AddEntryArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_REMOVEENTRY : success = print_DAS_RemoveEntryArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_MODIFYENTRY : success = print_DAS_ModifyEntryArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_MODIFYRDN : success = print_DAS_ModifyRDNArgument(pe,1,NULLIP,NULLVP,NULLCP); break; #ifdef REMOVE_FOR_6_0 case OP_GETEDB : success = print_Quipu_GetEntryDataBlockArgument(pe,1,NULLIP,NULLVP,NULLCP); break; #endif default: success = NOTOK; LLOG(log_dsap, LLOG_EXCEPTIONS, ("print_DAPArg OP %d unknown!", type)); break; } return(success); } int print_DSPArgument(pe,type) PE pe; int type; { int success; switch(type) { case OP_READ : success = print_DO_ChainedReadArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_COMPARE : success = print_DO_ChainedCompareArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_ABANDON : success = print_DAS_AbandonArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_LIST : success = print_DO_ChainedListArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_SEARCH : success = print_DO_ChainedSearchArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_ADDENTRY : success = print_DO_ChainedAddEntryArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_REMOVEENTRY : success = print_DO_ChainedRemoveEntryArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_MODIFYENTRY : success = print_DO_ChainedModifyEntryArgument(pe,1,NULLIP,NULLVP,NULLCP); break; case OP_MODIFYRDN : success = print_DO_ChainedModifyRDNArgument(pe,1,NULLIP,NULLVP,NULLCP); break; default: success = NOTOK; LLOG(log_dsap, LLOG_EXCEPTIONS, ("print_DSPArg OP %d unknown!", type)); break; } return(success); }