satyr 0.42
Loading...
Searching...
No Matches
Data Structures | Functions
operating_system.h File Reference

Operating system. More...

#include <inttypes.h>
#include <json.h>
#include <stdbool.h>

Go to the source code of this file.

Data Structures

struct  sr_operating_system
 

Functions

struct sr_operating_systemsr_operating_system_new (void)
 
void sr_operating_system_init (struct sr_operating_system *operating_system)
 
void sr_operating_system_free (struct sr_operating_system *operating_system)
 
char * sr_operating_system_to_json (struct sr_operating_system *operating_system)
 
struct sr_operating_systemsr_operating_system_from_json (json_object *root, char **error_message)
 
bool sr_operating_system_parse_etc_system_release (const char *etc_system_release, char **name, char **version)
 
bool sr_operating_system_parse_etc_os_release (const char *etc_os_release, struct sr_operating_system *operating_system)
 

Detailed Description

Operating system.

Definition in file operating_system.h.