syslinux/libinstaller/setadv.h
<<
>>
Prefs
   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
   8extern unsigned char syslinux_adv[2 * ADV_SIZE];
   9
  10int syslinux_setadv(int tag, size_t size, const void *data);
  11void syslinux_reset_adv(unsigned char *advbuf);
  12int syslinux_validate_adv(unsigned char *advbuf);
  13int read_adv(const char *path, const char *cfg);
  14int write_adv(const char *path, const char *cfg);
  15
  16#endif
  17
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.