cl_get_opt
lconn = cl_get_opt('c', argc, argv);
loginp.login_type = (cl_get_opt('m', argc, argv))
int cl_get_opt(char, int, char **);