18 lines
459 B
C++
18 lines
459 B
C++
/*
|
|
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
|
|
|
|
}}}
|