# | Line 32 | Line 32 | |
---|---|---|
32 | int sg_init(void); | |
33 | int sg_drop_privileges(void); | |
34 | ||
35 | + | typedef enum { |
36 | + | SG_ERROR |
37 | + | } sg_error; |
38 | + | |
39 | + | void sg_set_error(sg_error code, const char *arg); |
40 | + | sg_error sg_get_error(); |
41 | + | char *sg_str_error(sg_error code); |
42 | + | |
43 | typedef struct { | |
44 | char *os_name; | |
45 | char *os_release; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |