API -&nbspSmartSlog KP Library
Macros | Functions
ss_populate.h File Reference

Contains describtion of functions for work with populations from SS. More...

#include "kpi_interface.h"
#include "ss_func.h"
#include "utils/list.h"

Go to the source code of this file.

Macros

#define SSLOG_EXTERN

Functions

SSLOG_EXTERN int sslog_ss_populate_individual (individual_t *individual)
 Populate if given individual from SS.
SSLOG_EXTERN int sslog_ss_populate_individual_by_pattern (individual_t *individual, pattern_t *pattern)

Detailed Description

Contains describtion of functions for work with populations from SS.

Vanag Pavel vanag.nosp@m.@cs..nosp@m.karel.nosp@m.ia.r.nosp@m.u

Date:
05 April, 2010
Version:
0.2alpha

LICENSE

SmartSlog KP Library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

SmartSlog KP Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with SmartSlog KP Library; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

DESCRIPTION

Contains describtion of functions for work with populations from SS. This file is part of SmartSlog KP library.


Macro Definition Documentation

#define SSLOG_EXTERN

Function Documentation

SSLOG_EXTERN int sslog_ss_populate_individual ( 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 SmartSlog 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).
SSLOG_EXTERN int sslog_ss_populate_individual_by_pattern ( individual_t individual,
pattern_t pattern 
)