Rev 4745 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 4745 | Rev 4756 | ||
|---|---|---|---|
| Line 56... | Line 56... | ||
| 56 | */ |
56 | */ |
| 57 | #define NAME "Ping" |
57 | #define NAME "Ping" |
| 58 | 58 | ||
| 59 | /** Module entry point. |
59 | /** Module entry point. |
| 60 | * Reads command line parameters and pings. |
60 | * Reads command line parameters and pings. |
| 61 | * @param argc The number of command line parameters. Input parameter. |
61 | * @param[in] argc The number of command line parameters. |
| 62 | * @param argv The command line parameters. Input parameter. |
62 | * @param[in] argv The command line parameters. |
| 63 | * @returns EOK on success. |
63 | * @returns EOK on success. |
| 64 | */ |
64 | */ |
| 65 | int main( int argc, char * argv[] ); |
65 | int main( int argc, char * argv[] ); |
| 66 | 66 | ||
| 67 | /** Prints the application help. |
67 | /** Prints the application help. |
| 68 | */ |
68 | */ |
| 69 | void print_help( void ); |
69 | void print_help( void ); |
| 70 | 70 | ||
| 71 | /** Translates the character string to the address family number. |
71 | /** Translates the character string to the address family number. |
| 72 | * @param name The address family name. Input parameter. |
72 | * @param[in] name The address family name. |
| 73 | * @returns The corresponding address family number. |
73 | * @returns The corresponding address family number. |
| 74 | * @returns EAFNOSUPPORTED if the address family is not supported. |
74 | * @returns EAFNOSUPPORTED if the address family is not supported. |
| 75 | */ |
75 | */ |
| 76 | int parse_address_family( const char * name ); |
76 | int parse_address_family( const char * name ); |
| 77 | 77 | ||