Function anjay_server_object_restore

Function Documentation

avs_error_t anjay_server_object_restore(anjay_t *anjay, avs_stream_t *in_stream)

Attempts to restore Server Object Instances from specified in_stream .

Note: if restore fails, then Server Object will be left untouched, on success though all Instances stored within the Object will be purged.

Parameters:
  • anjay – Anjay instance with Server Object installed.

  • in_stream – Stream to read from.

Returns:

AVS_OK in case of success, or an error code.