feat: acquire-core full legacy C corpus (~2066 files, build-verified) + generator + inventory

This commit is contained in:
forge-bot 2026-07-18 11:24:15 +00:00
commit b96cf702ee
2897 changed files with 264970 additions and 0 deletions

View file

@ -0,0 +1,27 @@
/*
* acq_util.h - (//) ()
*/
#ifndef ACQ_UTIL_H
#define ACQ_UTIL_H
#include "msg_layout.h"
int date_is_valid(const char *yyyymmdd);
int date_weekday(const char *yyyymmdd);
int date_is_weekend(const char *yyyymmdd);
int date_next_business(const char *yyyymmdd, char *out);
void date_today(char *out);
long amount_parse(const char *field, int len);
int amount_format(long amount, char *out, int len);
void amount_format_won(long amount, char *out, int outlen);
int amount_is_valid(long amount);
void msg_field_copy(char *out, const char *field, int len);
void msg_field_set(char *field, const char *src, int len);
void msg_field_set_num(char *field, const char *src, int len);
int msg_unpack(acq_msg_t *msg, const char *raw, int rawlen);
int msg_pack(const acq_msg_t *msg, char *raw, int rawlen);
int msg_validate(const acq_msg_t *msg);
#endif /* ACQ_UTIL_H */