source: bootcd/isolinux/syslinux-6.03/libinstaller/setadv.h @ 26ffad7

Last change on this file since 26ffad7 was e16e8f2, checked in by Edwin Eefting <edwin@datux.nl>, 3 years ago

bootstuff

  • Property mode set to 100644
File size: 473 bytes
Line 
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
Note: See TracBrowser for help on using the repository browser.