MCPcopy Create free account
hub / github.com/cppla/ServerStatus / argparse_init

Function argparse_init

server/src/argparse.c:169–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169int
170argparse_init(struct argparse *this_, struct argparse_option *options,
171 const char *usage, int flags)
172{
173 memset(this_, 0, sizeof(*this_));
174 this_->options = options;
175 this_->usage = usage;
176 this_->flags = flags;
177 return 0;
178}
179
180int
181argparse_parse(struct argparse *this_, int argc, const char **argv)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected