#include "vsl_rcp.h"
#include "vsl_api.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include "vsl.h"
#include <pwd.h>
#include <strings.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <signal.h>
#include "vfer.h"
Go to the source code of this file.
Data Structures | |
struct | vsl_rcp_info |
structure used for parsing the command line arguments and options of test_rcp More... | |
Functions | |
int | main (int argc, char **argv) |
int | parse_opts (int argc, char **argv, vsl_rcp_info *t) |
void | print_help (char *prog, int verbose) |
void | sig_handler (int sig) |
Definition in file vsl_rcp.c.
int parse_opts | ( | int | argc, | |
char ** | argv, | |||
vsl_rcp_info * | info | |||
) |
Parses the command line arguments and options to main()
This function will print descriptive errors it finds to stderr
[in] | argc | is the argc argument to main |
[in] | argv | is the argv argument to main |
[out] | info | structure to store parsed arguments in |
void print_help | ( | char * | prog, | |
int | verbose | |||
) |
Prints a verbose or a non-verbose usage page
prog | program name to use in the help page | |
verbose | controls whether the page is verbose(1) or not(0) |
void sig_handler | ( | int | sig | ) |