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

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

#include "ss_populate.h"

Macros

#define _SS_POPULATE_C_

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 functions for work with populations from SS.

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

Date:
12 March, 2009
Version:
0.1alpha

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 functions for work with populations from SS. This file is part of SmartSlog KP Library.


Macro Definition Documentation

#define _SS_POPULATE_C_

Function Documentation

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 
)