Next: Peers, Up: STServer: Publishing a Service [Contents]
Reads the service name.
Server.
Returns: Borrowed name.
Thread-safe copy of the service name.
Server.
Returns: Newly allocated name (transfer full).
Renames the service.
Server.
New name.
Filled on failure.
Returns: TRUE on success.
Reads the version triple.
Server.
Returns: Borrowed STVersion pointer.
Copies the version triple.
Server.
Returns: Newly allocated STVersion (free with g_free).
Updates the advertised version.
Server.
New triple.
Filled on failure.
Returns: TRUE on success.
Reads the live inputs array.
Server.
Returns: Borrowed GPtrArray of STInput *.
Deep-ish snapshot of inputs (new array; elements ref’d).
Server.
Returns: New GPtrArray (transfer full; unref with g_ptr_array_unref).
Replaces the inputs array (shared ownership rules as construction).
Server.
New array of STInput *.
Returns: TRUE on success.
Reads the live outputs array.
Server.
Returns: Borrowed GPtrArray of STOutput *.
Snapshot of outputs (new array; elements ref’d).
Server.
Returns: New GPtrArray (transfer full).
Replaces the outputs array. Note the historical GError * signature (non-double pointer) in the header.
Server.
New array of STOutput *.
Optional error object pointer as declared in starter/server.h.
Returns: TRUE on success.
Next: Peers, Up: STServer: Publishing a Service [Contents]