-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfragments.txt
More file actions
33 lines (30 loc) · 1.13 KB
/
fragments.txt
File metadata and controls
33 lines (30 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
Some code segments that have not made (yet) into the application...
// static int argc_;
// static char **argv_;
// static struct option ptp_opts[] = {
// {"preset", required_argument, 0, 'P'},
// {"slave_only", no_argument, 0, 's'},
// {"priority1", required_argument, 0, 'p'},
// {"priority2", required_argument, 0, 'q'},
// {"transport_type", required_argument, 0, 'T'},
// {"transport_specific", required_argument, 0, 'S'},
// {"delay_mechanism", required_argument, 0, 'D'},
// {"domain", required_argument, 0, 'd'},
// {"log", required_argument, 0, 'l'},
// {"tlv", required_argument, 0, 't'},
// {"profile_flags", required_argument, 0, 'f'},
// {"message_period", required_argument, 0, 'm'},
// {"offset", required_argument, 0, 'o'},
// {0}};
// void process_ptp_options(int argc, char **argv) {
// // get options
// int option_index = 0;
// int c = getopt_long(argc, argv, "i:sP:p:q:T:S:D:d:l:t:f:m:o:", ptp_opts, &option_index);
// switch (c) {
// case 'p':
// strncpy(ptp_if_name, optarg, IFNAMSIZ);
// break;
// default:
// break;
// }
// }