-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathlibsfp_print.h
More file actions
41 lines (32 loc) · 1.05 KB
/
libsfp_print.h
File metadata and controls
41 lines (32 loc) · 1.05 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
34
35
36
37
38
39
40
41
#ifndef LIBSFP_PRINT_H__
#define LIBSFP_PRINT_H__
#include "libsfp_int.h"
/**
* @brief Output information selected by flags
* as text to specified file
* @param h - library handle
* @param dump - pointer to struct that store information
* @return 0 on success
*/
void libsfp_printinfo(libsfp_t *h, libsfp_dump_t *dump);
/**
* @brief The default name print function. It prints to stdout.
*
* @param udata User provided data pointer (see libsfp_set_user_data).
* @param name SFP module parameter name.
*/
void libsfp_printname_default( void *udata, const char *name );
/**
* @brief The default value print function. It prints to stdout.
*
* @param udata User provided data pointer (see libsfp_set_user_data).
* @param value SFP module parameter value.
*/
void libsfp_printvalue_default( void *udata, const char *value );
/**
* @brief The default newline print function. It prints to stdout.
*
* @param udata User provided data pointer (see libsfp_set_user_data).
*/
void libsfp_printnewline_default( void *udata );
#endif