Merge branch 'master' into lwip
[syslinux/sherbszt.git] / libinstaller / setadv.h
blob32bdfec1feca0816f6facc90a83d51fc425fdeb4
1 #ifndef _H_SET_ADV_
2 #define _H_SET_ADV_
4 /* ADV information */
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);
16 #endif