ss_populate.c File Reference

#include "ss_populate.h"

Functions

void print_triples (ss_triple_t *triples)
int ss_populate (individual_t *individual)
 Populate if given individual from SS.
int ss_populate_by_pattern (individual_t *individual, individual_t *pattern)
 Populate if given individual from SS by pattern.

Function Documentation

void print_triples ( ss_triple_t *  triples  ) 

int ss_populate ( individual_t individual  ) 

Populate if given individual from SS.

Tries to find individual by given individual data (uuid, properties) and populate it. Function sets global PetrSU KP Library's errno.

Parameters:
[in] individual_t * individual. Pointer to the individual struct.
Returns:
int. Status of the operation when completed (0 if successfull, otherwise -1).

int ss_populate_by_pattern ( individual_t individual,
individual_t pattern 
)

Populate if given individual from SS by pattern.

Tries to find individual by given individual data (uuid, properties) by pattern and populate it. Function sets global PetrSU KP Library's errno.

Parameters:
[in] individual_t * individual. Pointer to the individual struct.
Returns:
int. Status of the operation when completed (0 if successfull, otherwise -1).


doxygen