|
libteam 1.32
|
Functions | |
| TEAM_EXPORT bool | team_option_value_str (struct team_option *option, char *buf, size_t bufsiz) |
| TEAM_EXPORT int | team_set_option_value_from_string (struct team_handle *th, struct team_option *option, const char *str) |
| TEAM_EXPORT bool | team_option_str (struct team_handle *th, struct team_option *option, char *buf, size_t bufsiz) |
| TEAM_EXPORT bool | team_port_str (struct team_port *port, char *buf, size_t bufsiz) |
| TEAM_EXPORT bool | team_ifinfo_str (struct team_ifinfo *ifinfo, char *buf, size_t bufsiz) |
| TEAM_EXPORT bool team_ifinfo_str | ( | struct team_ifinfo * | ifinfo, |
| char * | buf, | ||
| size_t | bufsiz ) |
| Interface information functions | ifinfo structure |
| buf | buffer where string will be stored |
| bufsiz | available buffer size |
Converts ifinfo structure to string.
| TEAM_EXPORT bool team_option_str | ( | struct team_handle * | th, |
| struct team_option * | option, | ||
| char * | buf, | ||
| size_t | bufsiz ) |
| th | libteam library context |
| Team options functions | option structure |
| buf | buffer where string will be stored |
| bufsiz | available buffer size |
Converts option structure to string.
| TEAM_EXPORT bool team_option_value_str | ( | struct team_option * | option, |
| char * | buf, | ||
| size_t | bufsiz ) |
| Team options functions | option structure |
| buf | buffer where string will be stored |
| bufsiz | available buffer size |
Converts option value to string.
| TEAM_EXPORT bool team_port_str | ( | struct team_port * | port, |
| char * | buf, | ||
| size_t | bufsiz ) |
| port | port structure |
| buf | buffer where string will be stored |
| bufsiz | available buffer size |
Converts port structure to string.
| TEAM_EXPORT int team_set_option_value_from_string | ( | struct team_handle * | th, |
| struct team_option * | option, | ||
| const char * | str ) |
| th | libteam library context |
| Team options functions | option structure |
| str | string containing option value |
Convert option value from string and set it.