static orl_return P1Note( orl_sec_handle sec ) /********************************************/ // handle extra object file information records { orl_note_callbacks cb; cb.export_fn = ExportCallback; cb.deflib_fn = DeflibCallback; cb.entry_fn = EntryCallback; ORLNoteSecScan( sec, &cb, NULL ); return( ORL_OKAY ); }
static return_val processDrectveSection( orl_sec_handle shnd ) { orl_return o_error; orl_note_callbacks cb; if( shnd == ORL_NULL_HANDLE ) return( RC_OKAY ); cb.export_fn = nopCallBack; cb.deflib_fn = nopCallBack; cb.entry_fn = nopCallBack; cb.scantab_fn = scanTabCallBack; o_error = ORLNoteSecScan( shnd, &cb, NULL ); if( o_error == ORL_OKAY ) return( RC_OKAY ); if( o_error == ORL_OUT_OF_MEMORY ) return( RC_OUT_OF_MEMORY ); return( RC_ERROR ); }