Commit 05584bc0 authored by Alberto Miranda's avatar Alberto Miranda ♨️
Browse files

Deprecate nornsctl_ping() and send_ping_request()

parent cc0b925f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ nornsctl_job_init(nornsctl_job_t* job,

/* Check if the service daemon is running */
norns_error_t 
nornsctl_ping(void) __THROW;
nornsctl_ping(void) __THROW __attribute__((deprecated));

/* Send a command to the service daemon */
norns_error_t
+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ norns_error_t send_process_request(norns_rpc_type_t type, uint32_t jobid,
norns_error_t send_namespace_request(norns_rpc_type_t type, const char* nsid, 
                                     nornsctl_backend_t* backend);
norns_error_t send_control_status_request(nornsctl_stat_t* stats);
norns_error_t send_ping_request();
norns_error_t send_ping_request() __attribute__((deprecated));

#pragma GCC visibility pop