Searched refs:nc_data (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libnsl/netselect/
H A Dnetcspace.h45 struct nc_data { struct
50 static struct nc_data nc_semantics[] = {
58 static struct nc_data nc_flag[] = {
H A Dnetselect.c62 static unsigned int getvalue(char *, struct nc_data nc_data[]);
622 getvalue(char *cp, struct nc_data nc_data[]) argument
624 int i; /* used to index through the given struct nc_data array */
626 for (i = 0; nc_data[i].string; i++) {
627 if (strcmp(nc_data[i].string, cp) == 0) {
631 return (nc_data[i].value);

Completed in 22 milliseconds