getpublicandprivatekey
int getpublicandprivatekey(const char *, char *);
if (!getpublicandprivatekey(netname, lookup))