Lines Matching refs:argv
58 int main(int argc, char **argv)
67 argv++;
69 if (!strcmp(argv[0],"alt")) {
77 } else if (!strcmp(argv[0],"lookup")) {
83 ptr = svcmgr_lookup(bs, svcmgr, argv[1]);
84 fprintf(stderr,"lookup(%s) = %p\n", argv[1], ptr);
86 argv++;
87 } else if (!strcmp(argv[0],"publish")) {
92 svcmgr_publish(bs, svcmgr, argv[1], &token);
94 argv++;
96 fprintf(stderr,"unknown command %s\n", argv[0]);
100 argv++;