The header file
wpa_ctrl.h must indicate which symbols (functions and variables) should be public. These are indicated by prefixing the declarations with the
extern
keyword. Declarations without this keyword are not added to the symbol table.
Example for wpa_ctrl_open:
extern void wpa_ctrl_open(void);