Skip to content

sco_storage_v1.column_name

The column’s name, NUL-terminated, with the size handshake.

sco_result (*)(sco_plugin *, uint64_t, uint32_t, char *, uint32_t *)

Service index

Property Value
Symbol sco_storage_v1.column_name
Record ID sco-storage-v1-column-name
Service sco.storage
Table sco_storage_v1
Version macro SCO_STORAGE_VERSION_1_0
Packed table version 65536
Since / availability size >= 112; 1.0
Complete member extent (x64 bytes) 112
Table size (x64 bytes) 128

Header source

sco_result (*column_name)(sco_plugin* self, uint64_t cursor, uint32_t index, char* out, uint32_t* inout_size);
The column’s name, NUL-terminated, with the size handshake.

Common storage failures; NOT_FOUND unknown/non-owned cursor; BAD_ARG invalid buffer/index; TOO_MANY required bytes. Does not require a current row.

unspecified

Caller buffers; inputs/SQL parameters copied during call. Host owns database/cursors; no SQLite pointer or allocation crosses the ABI.

Any thread; calls serialize per plugin. Same-call recursive reentrancy unspecified.

unspecified

unspecified

No cancellation entrypoint; ordinary unload/non-retained crash cleanup rolls back transaction and closes cursors/database. Retained-provider faults skip owner resource-release hooks and require restart; backing resources remain retained, not safe for cached calls.

Status labels are copied verbatim from the catalogue: direct is native access; typed-wrapper is wrapper-backed; restricted is a subset/adaptation; unsupported means no supported route is established. No status implies universal safety.

Language Catalogue status Source evidence / wrapper tokens
c direct include/sco_storage.h
(*column_name)
cpp direct include/sco_storage.h
(*column_name)
csharp typed-wrapper sdk/csharp/Sco.Sdk/Storage.cs
return Storage.Sized((buf, size) => _s.Table->column_name(_s.SelfFor, _id, (uint)i, buf, size), out byte[] b) == ScoResult.Ok
lua restricted plugins/lua/sco_lua.c
r = st->column_name(s->self, c->id, i, name, &size);
sdk/docs/lua.md
Cursors are the runtime’s: sql closes its cursor on every path

ABI pins prove layout, not semantic behavior or a live game session.