|
Entropic 2.3.8
Local-first agentic inference engine
|
C API implementation for identity management. More...
#include "engine_handle.h"#include <entropic/entropic.h>#include <entropic/types/logging.h>#include "json_serializers.h"
Go to the source code of this file.
Functions | |
| static entropic_error_t | check_identity_mgr (entropic_handle_t h) |
| Check handle prerequisites for identity manager APIs. | |
| ENTROPIC_EXPORT entropic_error_t | entropic_load_identity (entropic_handle_t handle, const char *identity_name) |
| Load an identity by name — verify it exists. | |
| ENTROPIC_EXPORT entropic_error_t | entropic_get_identity (entropic_handle_t handle, char **identity_json) |
| Get an identity's config as JSON. | |
Variables | |
| static auto | logger = entropic::log::get("facade.identity") |
C API implementation for identity management.
Implements entropic_load_identity() and entropic_get_identity() from entropic.h. Currently stubs — real wiring to config/core subsystems happens when the facade owns the full engine state.
Definition in file entropic_identity.cpp.
|
static |
Check handle prerequisites for identity manager APIs.
| h | Engine handle. |
Definition at line 28 of file entropic_identity.cpp.
| ENTROPIC_EXPORT entropic_error_t entropic_get_identity | ( | entropic_handle_t | handle, |
| char ** | identity_json | ||
| ) |
Get an identity's config as JSON.
Get the current active identity as a JSON string.
| handle | Engine handle returned by entropic_create. |
| identity_json | Out-param: newly allocated JSON string (caller owns; free with entropic_free). |
Definition at line 68 of file entropic_identity.cpp.
| ENTROPIC_EXPORT entropic_error_t entropic_load_identity | ( | entropic_handle_t | handle, |
| const char * | identity_name | ||
| ) |
Load an identity by name — verify it exists.
Load an identity by name from the configuration.
| handle | Engine handle returned by entropic_create. |
| identity_name | Identity name from configured tier set. |
Definition at line 44 of file entropic_identity.cpp.
|
static |
Definition at line 19 of file entropic_identity.cpp.