handmade/include/lib_GetOpt.h

12 lines
160 B
C
Raw Normal View History

#pragma once
struct Init_CommonOpts
{
const char* host;
int channel;
int mtu;
unsigned short port;
};
void common_GetOpt (int, char**, Init_CommonOpts*);