Skip to content
Snippets Groups Projects
Commit 92a7ab9f authored by Joscha Schmiedt's avatar Joscha Schmiedt
Browse files

Fix broken renaming of c lib functions

parent 9af9b252
No related branches found
No related tags found
2 merge requests!61Release 0.3.0,!55Rename caosdb-cpplib to linkahead-cpplib
......@@ -144,7 +144,8 @@ int linkahead_connection_create_pem_file_certificate_provider(
*
* EXPERT USE ONLY. Only use it when you know what you are doing.
*/
int linkahead_connection_delete_certificate_provider(linkahead_connection_certificate_provider *provider);
int linkahead_connection_delete_certificate_provider(
linkahead_connection_certificate_provider *provider);
/**
* Create a tls-secured connection configuration.
......@@ -217,7 +218,8 @@ int linkahead_authentication_create_plain_password_authenticator(
*
* EXPERT USE ONLY. Only use it when you know what you are doing.
*/
int linkahead_authentication_delete_authenticator(linkahead_authentication_authenticator *authenticator);
int linkahead_authentication_delete_authenticator(
linkahead_authentication_authenticator *authenticator);
/**
* Create a connection instance.
......@@ -254,7 +256,8 @@ int linkahead_connection_get_version_info(linkahead_info_version_info *out,
*
* The default connection is to be specified in a configuration file.
*/
int linkahead_connection_connection_manager_get_default_connection(linkahead_connection_connection *out);
int linkahead_connection_connection_manager_get_default_connection(
linkahead_connection_connection *out);
/**
* Get a named connection from the ConnectionManager.
......@@ -286,8 +289,8 @@ int linkahead_transaction_transaction_retrieve_by_id(linkahead_transaction_trans
const char *id);
int linkahead_transaction_transaction_retrieve_and_download_file_by_id(
linkahead_transaction_transaction *transaction, const char *id, const char *path);
int linkahead_transaction_transaction_retrieve_by_ids(linkahead_transaction_transaction *transaction,
const char *ids[], int length);
int linkahead_transaction_transaction_retrieve_by_ids(
linkahead_transaction_transaction *transaction, const char *ids[], int length);
int linkahead_transaction_transaction_query(linkahead_transaction_transaction *transaction,
const char *query);
int linkahead_transaction_transaction_execute(linkahead_transaction_transaction *transaction);
......@@ -299,10 +302,10 @@ typedef struct linkahead_transaction_result_set {
bool _deletable;
} linkahead_transaction_result_set;
typedef struct dentity_entity {
typedef struct linkahead_entity_entity {
void *wrapped_entity;
bool _deletable;
} dentity_entity;
} linkahead_entity_entity;
int linkahead_transaction_transaction_get_result_set(linkahead_transaction_transaction *transaction,
linkahead_transaction_result_set *out);
......@@ -315,8 +318,8 @@ int linkahead_transaction_transaction_get_result_set(linkahead_transaction_trans
*
* EXPERT USE ONLY. Only use it when you know what you are doing.
*/
int linkahead_transaction_transaction_release_result_set(linkahead_transaction_transaction *transaction,
linkahead_transaction_result_set *out);
int linkahead_transaction_transaction_release_result_set(
linkahead_transaction_transaction *transaction, linkahead_transaction_result_set *out);
/**
* Release the entity from the result set.
*
......@@ -328,7 +331,7 @@ int linkahead_transaction_transaction_release_result_set(linkahead_transaction_t
* EXPERT USE ONLY. Only use it when you know what you are doing.
*/
int linkahead_transaction_result_set_release_at(linkahead_transaction_result_set *result_set,
dentity_entity *entity, int index);
linkahead_entity_entity *entity, int index);
/**
* Destructor for linkahead_transaction_result_set.
*
......@@ -336,8 +339,8 @@ int linkahead_transaction_result_set_release_at(linkahead_transaction_result_set
*/
int linkahead_transaction_delete_result_set(linkahead_transaction_result_set *result_set);
int linkahead_transaction_transaction_get_count_result(linkahead_transaction_transaction *transaction,
long *out);
int linkahead_transaction_transaction_get_count_result(
linkahead_transaction_transaction *transaction, long *out);
int linkahead_transaction_result_set_at(linkahead_transaction_result_set *result_set,
linkahead_entity_entity *entity, int index);
......@@ -381,25 +384,26 @@ int linkahead_entity_entity_get_role(linkahead_entity_entity *entity, char **out
int linkahead_entity_entity_get_name(linkahead_entity_entity *entity, char **out);
int linkahead_entity_entity_get_description(linkahead_entity_entity *entity, char **out);
int linkahead_entity_entity_get_local_path(linkahead_entity_entity *entity, char **out);
int linkahead_entity_entity_get_datatype(linkahead_entity_entity *entity, linkahead_entity_datatype *out);
int linkahead_entity_entity_get_datatype(linkahead_entity_entity *entity,
linkahead_entity_datatype *out);
int linkahead_entity_entity_get_unit(linkahead_entity_entity *entity, char **out);
int linkahead_entity_entity_get_value(linkahead_entity_entity *entity, linkahead_entity_value *out);
int linkahead_entity_entity_get_version_id(linkahead_entity_entity *entity, char **out);
int linkahead_entity_entity_get_errors_size(linkahead_entity_entity *entity, int *out);
int linkahead_entity_entity_get_error(linkahead_entity_entity *entity, linkahead_entity_message *out,
int index);
int linkahead_entity_entity_get_error(linkahead_entity_entity *entity,
linkahead_entity_message *out, int index);
int linkahead_entity_entity_get_warnings_size(linkahead_entity_entity *entity, int *out);
int linkahead_entity_entity_get_warning(linkahead_entity_entity *entity, linkahead_entity_message *out,
int index);
int linkahead_entity_entity_get_warning(linkahead_entity_entity *entity,
linkahead_entity_message *out, int index);
int linkahead_entity_entity_get_infos_size(linkahead_entity_entity *entity, int *out);
int linkahead_entity_entity_get_info(linkahead_entity_entity *entity, linkahead_entity_message *out,
int index);
int linkahead_entity_entity_get_properties_size(linkahead_entity_entity *entity, int *out);
int linkahead_entity_entity_get_property(linkahead_entity_entity *entity, linkahead_entity_property *out,
int index);
int linkahead_entity_entity_get_property(linkahead_entity_entity *entity,
linkahead_entity_property *out, int index);
int linkahead_entity_entity_get_parents_size(linkahead_entity_entity *entity, int *out);
int linkahead_entity_entity_get_parent(linkahead_entity_entity *entity, linkahead_entity_parent *out,
int index);
int linkahead_entity_entity_get_parent(linkahead_entity_entity *entity,
linkahead_entity_parent *out, int index);
int linkahead_entity_property_get_id(linkahead_entity_property *property, char **out);
int linkahead_entity_property_get_name(linkahead_entity_property *property, char **out);
......@@ -408,7 +412,8 @@ int linkahead_entity_property_get_importance(linkahead_entity_property *property
int linkahead_entity_property_get_datatype(linkahead_entity_property *property,
linkahead_entity_datatype *out);
int linkahead_entity_property_get_unit(linkahead_entity_property *property, char **out);
int linkahead_entity_property_get_value(linkahead_entity_property *property, linkahead_entity_value *out);
int linkahead_entity_property_get_value(linkahead_entity_property *property,
linkahead_entity_value *out);
int linkahead_entity_parent_get_id(linkahead_entity_parent *parent, char **out);
int linkahead_entity_parent_get_name(linkahead_entity_parent *parent, char **out);
int linkahead_entity_parent_get_description(linkahead_entity_parent *parent, char **out);
......@@ -434,8 +439,8 @@ int linkahead_entity_value_get_as_double(linkahead_entity_value *value, double *
int linkahead_entity_value_get_as_integer(linkahead_entity_value *value, int64_t *out);
int linkahead_entity_value_get_as_bool(linkahead_entity_value *value, bool *out);
int linkahead_entity_value_get_as_vector_size(linkahead_entity_value *value, int *out);
int linkahead_entity_value_get_as_vector_at(linkahead_entity_value *value, linkahead_entity_value *out,
const int index);
int linkahead_entity_value_get_as_vector_at(linkahead_entity_value *value,
linkahead_entity_value *out, const int index);
// CONSTRUCTORS AND DESTRUCTORS
int linkahead_entity_create_entity(linkahead_entity_entity *out);
......@@ -449,7 +454,8 @@ int linkahead_entity_delete_parent(linkahead_entity_parent *out);
int linkahead_entity_create_atomic_datatype(linkahead_entity_datatype *out, const char *name);
int linkahead_entity_create_reference_datatype(linkahead_entity_datatype *out, const char *name);
int linkahead_entity_create_atomic_list_datatype(linkahead_entity_datatype *out, const char *name);
int linkahead_entity_create_reference_list_datatype(linkahead_entity_datatype *out, const char *name);
int linkahead_entity_create_reference_list_datatype(linkahead_entity_datatype *out,
const char *name);
int linkahead_entity_delete_datatype(linkahead_entity_datatype *out);
// VALUE CONSTRUCTORS (resolve overloaded constructors)
......@@ -470,15 +476,18 @@ int linkahead_entity_delete_value(linkahead_entity_value *out);
// SETTERS FOR EVERYTHING THAT MAY BE SET
int linkahead_entity_entity_set_role(linkahead_entity_entity *entity, const char *role);
int linkahead_entity_entity_set_name(linkahead_entity_entity *entity, const char *name);
int linkahead_entity_entity_set_description(linkahead_entity_entity *entity, const char *description);
int linkahead_entity_entity_set_description(linkahead_entity_entity *entity,
const char *description);
int linkahead_entity_entity_set_local_path(linkahead_entity_entity *entity, const char *name);
int linkahead_entity_entity_set_file_path(linkahead_entity_entity *entity, const char *name);
int linkahead_entity_entity_set_datatype(linkahead_entity_entity *entity,
linkahead_entity_datatype *datatype);
int linkahead_entity_entity_set_unit(linkahead_entity_entity *entity, const char *unit);
int linkahead_entity_entity_set_value(linkahead_entity_entity *entity, linkahead_entity_value *value);
int linkahead_entity_entity_set_value(linkahead_entity_entity *entity,
linkahead_entity_value *value);
int linkahead_entity_entity_append_parent(linkahead_entity_entity *entity, linkahead_entity_parent *parent);
int linkahead_entity_entity_append_parent(linkahead_entity_entity *entity,
linkahead_entity_parent *parent);
int linkahead_entity_entity_remove_parent(linkahead_entity_entity *entity, int index);
int linkahead_entity_entity_append_property(linkahead_entity_entity *entity,
linkahead_entity_property *property);
......@@ -488,9 +497,11 @@ int linkahead_entity_property_set_id(linkahead_entity_property *property, const
int linkahead_entity_property_set_name(linkahead_entity_property *property, const char *name);
int linkahead_entity_property_set_datatype(linkahead_entity_property *property,
linkahead_entity_datatype *datatype);
int linkahead_entity_property_set_importance(linkahead_entity_property *property, const char *importance);
int linkahead_entity_property_set_importance(linkahead_entity_property *property,
const char *importance);
int linkahead_entity_property_set_unit(linkahead_entity_property *property, const char *unit);
int linkahead_entity_property_set_value(linkahead_entity_property *property, linkahead_entity_value *value);
int linkahead_entity_property_set_value(linkahead_entity_property *property,
linkahead_entity_value *value);
int linkahead_entity_parent_set_id(linkahead_entity_parent *parent, const char *id);
int linkahead_entity_parent_set_name(linkahead_entity_parent *parent, const char *name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment