「🏗️」 wip: work in progress, not done yet.
This commit is contained in:
@ -1,3 +1,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
extern char *exec_name;
|
||||
|
||||
typedef struct {
|
||||
bool verbose;
|
||||
int count;
|
||||
int size;
|
||||
int timeout;
|
||||
int ttl;
|
||||
int interval;
|
||||
} ping_t;
|
||||
|
||||
#define DEFAULT_COUNT -1
|
||||
#define DEFAULT_VERBOSE false
|
||||
#define DEFAULT_SIZE 0
|
||||
#define DEFAULT_INTERVAL 0
|
||||
#define DEFAULT_TIMEOUT 0
|
||||
|
Reference in New Issue
Block a user