Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

GClass Registration

Every GClass must be registered before it can be instantiated. Each register_c_*() function follows the same signature and pattern.

All built-in GClasses are registered at once by calling yunetas_register_c_core().

Source: kernel/c/root-linux/src/c_*.h


Signature

int register_c_<name>(void);

Parameters — none.

Returns0 on success.


Complete list

FunctionGClassDescription
register_c_auth_bff()C_AUTH_BFFAuth Backend-For-Frontend (OAuth 2 PKCE).
register_c_authz()C_AUTHZAuthorization manager.
register_c_channel()C_CHANNELLogical communication channel.
register_c_counter()C_COUNTEREvent counter.
register_c_fs()C_FSFile-system watcher.
register_c_gss_udp_s()C_GSS_UDP_SGSS UDP server.
register_c_ievent_cli()C_IEVENT_CLIInter-event client.
register_c_ievent_srv()C_IEVENT_SRVInter-event server.
register_c_iogate()C_IOGATEI/O gate (protocol mux).
register_c_mqiogate()C_MQIOGATEMessage-queue I/O gate.
register_c_node()C_NODENode management.
register_c_ota()C_OTAOver-the-air updates.
register_c_prot_http_cl()C_PROT_HTTP_CLHTTP client protocol.
register_c_prot_http_sr()C_PROT_HTTP_SRHTTP server protocol.
register_c_prot_raw()C_PROT_RAWRaw (pass-through) protocol.
register_c_prot_tcp4h()C_PROT_TCP4HTCP with 4-byte header protocol.
register_c_pty()C_PTYPseudo-terminal.
register_c_qiogate()C_QIOGATEQueue I/O gate.
register_c_resource2()C_RESOURCE2Resource management.
register_c_task()C_TASKTask management.
register_c_task_authenticate()C_TASK_AUTHENTICATEAuthentication task.
register_c_tcp()C_TCPTCP client.
register_c_tcp_s()C_TCP_STCP server.
register_c_timer()C_TIMERHigh-level timer.
register_c_timer0()C_TIMER0Low-level timer (io_uring).
register_c_tranger()C_TRANGERTimeranger wrapper.
register_c_treedb()C_TREEDBTreeDB wrapper.
register_c_uart()C_UARTUART / serial port.
register_c_udp()C_UDPUDP client.
register_c_udp_s()C_UDP_SUDP server.
register_c_websocket()C_WEBSOCKETWebSocket protocol.
register_c_yuno()C_YUNOYuno (main daemon grandmother).

Individual functions

register_c_auth_bff()C_AUTH_BFF

register_c_authz()C_AUTHZ

register_c_channel()C_CHANNEL

register_c_counter()C_COUNTER

register_c_fs()C_FS

register_c_gss_udp_s()C_GSS_UDP_S

register_c_ievent_cli()C_IEVENT_CLI

register_c_ievent_srv()C_IEVENT_SRV

register_c_iogate()C_IOGATE

register_c_mqiogate()C_MQIOGATE

register_c_node()C_NODE

register_c_ota()C_OTA

register_c_prot_http_cl()C_PROT_HTTP_CL

register_c_prot_http_sr()C_PROT_HTTP_SR

register_c_prot_raw()C_PROT_RAW

register_c_prot_tcp4h()C_PROT_TCP4H

register_c_pty()C_PTY

register_c_qiogate()C_QIOGATE

register_c_resource2()C_RESOURCE2

register_c_task()C_TASK

register_c_task_authenticate()C_TASK_AUTHENTICATE

register_c_tcp()C_TCP

register_c_tcp_s()C_TCP_S

register_c_tranger()C_TRANGER

register_c_treedb()C_TREEDB

register_c_uart()C_UART

register_c_udp()C_UDP

register_c_udp_s()C_UDP_S

register_c_websocket()C_WEBSOCKET