Beispiel #1
0
int
NCD3_initialize(void)
{
    /* Create our dispatch table as the merge of NCD3 table and NCSUBSTRATE */
    /* watch the order because we want NCD3 to overwrite NCSUBSTRATE */
    NC_dispatch_overlay(&NCD3_dispatch_base, NCSUBSTRATE_dispatch_table, &NCD3_dispatcher);
    NCD3_dispatch_table = &NCD3_dispatcher;
    return NC_NOERR;
}
Beispiel #2
0
int
NCCR_initialize(void)
{
    /* Create our dispatch table as the merge of NC4 table
       plus some overrides */
    NC_dispatch_overlay(&NCCR_dispatch_base, NC4_dispatch_table, &NCCR_dispatcher);    
    NCCR_dispatch_table = &NCCR_dispatcher;
    ncloginit();
    return NC_NOERR;
}