🏗️」 wip: work in progress, not done yet.

This commit is contained in:
2025-08-12 17:57:15 +02:00
parent bc57fe2cc2
commit f71753ffa8
6 changed files with 55 additions and 15 deletions

View File

@ -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