cwist
Modern C web framework with libttak runtime
Loading...
Searching...
No Matches
CWIST API Reference

Error Handling

make_error

cwist_error_is_ok / cwist_error_is_ok_extern

  • static inline bool cwist_error_is_ok(const cwist_error_t *err)
  • bool cwist_error_is_ok_extern(const cwist_error_t *err)
  • True when the active channel holds its zero/empty value (NULL counts as success). The _extern form is the same check as a real symbol, for callers that cannot use a static inline function, such as bindings generated from the headers.

Other exported inline helpers

SString (cwist_sstring)

Lifecycle

Core helpers

Trimming

Append / Copy

Compare / Query

HTTP

Request lifecycle

Response lifecycle

Header helpers

Method helpers

Socket helpers

Session manager

Arena

Shared sessions (intrusive ref count)

Manager