- oid_callback_t* data=(oid_callback_t*) data_;
-
- //fprintf(stderr,"ja7: called with %d: %s\n",oid->oclass,oid->desc);
- 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*));
- data->max=(data->max+1)*2 - 1;
- };
- data->values[data->index]=oid->desc;
- ++data->index;
- }
-};
-
-char** build_list_for_oclass(oid_class oclass) {
- oid_callback_t data;
- data.values = calloc(10,sizeof(char*));
- data.index = 0;
- data.max = 9;
- data.oclass = oclass;
-
- oid_trav(oid_loader, &data);
-
- data.values[data.index]=0;
- return data.values;
+ oid_callback_t* data=(oid_callback_t*) data_;
+
+
+ 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*));
+ data->max=(data->max+1)*2 - 1;
+ };
+ data->values[data->index]=oid->desc;
+ ++data->index;
+ }
+}
+
+char** build_list_for_oclass(oid_class oclass)
+{
+ oid_callback_t data;
+ data.values = (char **) calloc(10,sizeof(char*));
+ data.index = 0;
+ data.max = 9;
+ data.oclass = oclass;
+
+ oid_trav(oid_loader, &data);
+
+ data.values[data.index]=0;
+ return data.values;