diff options
Diffstat (limited to 'omshell.c')
-rw-r--r-- | omshell.c | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -109,6 +109,15 @@ static rsRetVal parseSelectorAct(uchar **pp, selector_t *f) return iRet; } + +/* free an instance + */ +static rsRetVal freeInstance(selector_t *f) +{ + assert(f != NULL); + return RS_RET_OK; +} + /* query an entry point */ static rsRetVal queryEtryPt(uchar *name, rsRetVal (**pEtryPoint)()) @@ -123,9 +132,9 @@ static rsRetVal queryEtryPt(uchar *name, rsRetVal (**pEtryPoint)()) *pEtryPoint = parseSelectorAct; } else if(!strcmp((char*) name, "isCompatibleWithFeature")) { *pEtryPoint = isCompatibleWithFeature; - } /*else if(!strcmp((char*) name, "freeInstance")) { - *pEtryPoint = freeInstanceFile; - } */ + } else if(!strcmp((char*) name, "freeInstance")) { + *pEtryPoint = freeInstance; + } return(*pEtryPoint == NULL) ? RS_RET_NOT_FOUND : RS_RET_OK; } |