#include <stdio.h>
#include <string.h>
#include "kp_error.h"
#include "kp_bool.h"
#include "../structures.h"
#include "../properties.h"
#include <sys/types.h>
Go to the source code of this file.
Functions | |
char * | get_str_duplicate (const char *string) |
Gets duplacate of given string. | |
bool | is_in_property_list (property_t *item, list_t *property_list) |
Checkes is there input item in list of properties. | |
bool | is_in_property_values_list (prop_val_t *item, list_t *property_list) |
Checkes is there input item in list of properties values. | |
ss_triple_t * | concat_triplets (ss_triple_t *a, ss_triple_t *b) |
Concatenate two triples lists. |
ss_triple_t* concat_triplets | ( | ss_triple_t * | a, | |
ss_triple_t * | b | |||
) |
Concatenate two triples lists.
This function only add triples list b to a. No new memory allocated. If you using delete function for list a, b will be deleted too.
a | first triples list. | |
b | second triples list. |
char* get_str_duplicate | ( | const char * | string | ) |
Gets duplacate of given string.
string | to duplcate. |
bool is_in_property_list | ( | property_t * | item, | |
list_t * | property_list | |||
) |
Checkes is there input item in list of properties.
property_t | needl. | |
list_head_t | haystack. |
bool is_in_property_values_list | ( | prop_val_t * | item, | |
list_t * | property_list | |||
) |
Checkes is there input item in list of properties values.
prop_val_t | needl. | |
list_head_t | haystack. |