Endianness check
Altlinux build / build-alt (push) Failing after 2m3s
Archlinux build / build-arch (push) Successful in 2m58s
Debian build / build-ubuntu (push) Has been cancelled
Archlinux build / make-test (push) Has been cancelled

This commit is contained in:
zx
2025-05-01 18:10:15 +03:00
parent 144eacc0d6
commit 5eb6ddc45b
4 changed files with 31 additions and 16 deletions
+2 -1
View File
@@ -27,7 +27,7 @@
* 0x0000 4 bytes Nodelist file date
* 0x0004 4 bytes Nodelist file size
* 0x0008 4 bytes Total number of entries in index file
* 0x000c 4 bytes Unused
* 0x000c 4 bytes ENDIANNES MARK
*
* Nodelist index is an array of next entries:
*
@@ -123,6 +123,7 @@ typedef struct nodelist
char name_index[BF_MAXPATH+1];
char name_nodelist[BF_MAXPATH+1];
long entries;
long endian;
}
s_nodelist;
+2
View File
@@ -189,8 +189,10 @@ char *buffer_putlong(char *buffer, long val);
char *buffer_putint(char *buf, int val);
long buffer_getlong(const char *buf);
int buffer_getint(const char *buf);
void swap_long(char *buffer);
void printf_usage(const char *ident, const char *fmt, ...);
/* u_pkt.c */
int pkt_createpacket(const char *pktname, const s_packet *pkt);