5 #define ADV_SIZE 512 /* Total size */
6 #define ADV_LEN (ADV_SIZE-3*4) /* Usable data size */
8 extern unsigned char syslinux_adv
[2 * ADV_SIZE
];
10 int syslinux_setadv(int tag
, size_t size
, const void *data
);
11 void syslinux_reset_adv(unsigned char *advbuf
);
12 int syslinux_validate_adv(unsigned char *advbuf
);
13 int read_adv(const char *path
, const char *cfg
);
14 int write_adv(const char *path
, const char *cfg
);