ss_func.h File Reference

#include "utils/check_func.h"
#include "kpi_low.h"
#include <time.h>

Go to the source code of this file.

Defines

#define RDF_TYPE   "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"
 rdf:type.
#define KPLIB_UUID_MAX_LEN   25
 UUID maximum lenght.

Functions

ss_info_t * get_ss_info ()
 Get ss_info struct.
void reset_ss_errno ()
 Set KPI Low ss_errno to 0.
char * generate_uuid ()
 Generate UUID.
int init_ss ()
 Makes different library initialization.
int init_ss_with_parameters (const char *space_id, const char *ss_address, int ss_port)
 Makes different library initialization using given data.


Define Documentation

#define KPLIB_UUID_MAX_LEN   25

UUID maximum lenght.

#define RDF_TYPE   "http://www.w3.org/1999/02/22-rdf-syntax-ns#type"

rdf:type.


Function Documentation

char* generate_uuid (  ) 

Generate UUID.

Returns:
new UUID on success or NULL otherwise.

ss_info_t* get_ss_info (  ) 

Get ss_info struct.

ss_info used by KPI Low functions.

Returns:
ss_info on success or NULL otherwise.

int init_ss (  ) 

Makes different library initialization.

Returns:
0 on success or not otherwise.

int init_ss_with_parameters ( const char *  space_id,
const char *  ss_address,
int  ss_port 
)

Makes different library initialization using given data.

Parameters:
space_id Smart Space id.
ss_address Smart Space address(ip or nota).
ss_port Smart Space port.
Returns:
0 on success or not otherwise.

void reset_ss_errno (  ) 

Set KPI Low ss_errno to 0.


doxygen