Does not smiInit() read config ?

Hi all,
I'm a newbe and using libsmi for parsing COPS PIB files. I have a question about smiInit().
manual smi_config(3) says:
The smiInit() function should be the first SMI function called in an application. It initializes its internal structures. If tag is not NULL, the global configuration file and (on UNIX systems) a user configuration file are read implicitly, if existent. All global statements and those statements with a tag (a ``tag: '' prefix) that matches the tag argument are executed. (see also CONFIGUă„ RATION FILES below). smiInit() returns zero on success, or otherwise a negative value.
However, source code smi.c (smiInit()) dose not seem to read a global configuration file when tag is NULL.
Should I call smiReadConfig() by myself or did I some mistakes ?
Thanks in advance for your time. regards -- KUBOTA,Takaya@NTT SOFTAWARE CORPORATION takaya@po.ntts.co.jp
participants (1)
-
KUBOTA Takaya