* Copyright (c) 2002, Index Data
* See the file LICENSE for details.
*
* Copyright (c) 2002, Index Data
* See the file LICENSE for details.
*
* *****************************************************************************/
char* complete_from_list(char* completions[], const char *text, int state)
* *****************************************************************************/
char* complete_from_list(char* completions[], const char *text, int state)
if((oid->oclass == CLASS_GENERAL) || (oid->oclass == data->oclass)) {
if(data->index==data->max) {
data->values=(char**)realloc(data->values,((data->max+1)*2)*sizeof(char*));
if((oid->oclass == CLASS_GENERAL) || (oid->oclass == data->oclass)) {
if(data->index==data->max) {
data->values=(char**)realloc(data->values,((data->max+1)*2)*sizeof(char*));