Home | History | Annotate | Download | only in libinstaller
      1 #ifndef _H_SET_ADV_
      2 #define _H_SET_ADV_
      3 
      4 /* ADV information */
      5 #define ADV_SIZE	512	/* Total size */
      6 #define ADV_LEN		(ADV_SIZE-3*4)	/* Usable data size */
      7 
      8 extern unsigned char syslinux_adv[2 * ADV_SIZE];
      9 
     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);
     15 
     16 #endif
     17