Sleds/gluster_status/Ping.h

18 lines
459 B
C
Raw Permalink Normal View History

2025-03-13 21:28:38 +00:00
/*
Copyright (c) 2014 IOnU Security Inc. All rights reserved
Created February 2014 by Kendrick Webster
gluster_status/Ping.h - header for UDP IPC ping test
*/
#pragma once
#include <stdint.h>
#include <string>
namespace ionu { namespace gluster_status { namespace ping {
void Run(const std::string& host, uint16_t port);
void Pong(uint16_t port); // run as a pong host
void Stop(void); // called by signal handler for SIGINT or SIGTERM
}}}