PROXY  WHOIS  RQUOTE  TEXTS  SOFT  FOREX  BBOARD
 Music  Philosophy  Code  Literature  Russian

= ROOT|Technical|Code_Examples|Java|launcher|manifest_info.h =

page 2 of 2



typedef struct zentry {	/* Zip file entry */
    size_t	isize;	/* size of inflated data */
    size_t	csize;	/* size of compressed data (zero if uncompressed) */
    off_t	offset;	/* position of compressed data */
    int		how;	/* compression method (if any) */
} zentry;

/*
 * Information returned from the Manifest file by the ParseManifest() routine.
 * Certainly (much) more could be returned, but this is the information
 * currently of interest to the C based Java utilities (particularly the
 * Java launcher).
 */
typedef struct manifest_info {	/* Interesting fields from the Manifest */
    char	*manifest_version;	/* Manifest-Version string */
    char	*main_class;		/* Main-Class entry */
    char	*jre_version;		/* Appropriate J2SE release spec */
    char	jre_restrict_search;	/* Restricted JRE search */
    char	*splashscreen_image_file_name; /* splashscreen image file */
} manifest_info;

/*
 * Attribute closure to provide to manifest_iterate.
 */
typedef void (*attribute_closure)(const char *name, const char *value,
	void *user_data);

/*
 * Function prototypes.
 */
int	JLI_ParseManifest(char *jarfile, manifest_info *info);
void	*JLI_JarUnpackFile(const char *jarfile, const char *filename,
		int *size);
void	JLI_FreeManifest(void);
int	JLI_ManifestIterate(const char *jarfile, attribute_closure ac,
		void *user_data);

#endif	/* _MANIFEST_INFO_H */
=2=
THE END

1| < PREV = PAGE 2 =

UP TO ROOT | UP TO DIR | TO FIRST PAGE

Google
 

E-mail Facebook Google Digg del.icio.us BlinkList Fark Furl Ma.gnolia Netscape NewsVine Reddit Slashdot Spurl StumbleUpon Technorati YahooMyWeb LiveJournal Blogmarks TwitThis Live News2.ru BobrDobr.ru Memori.ru MoeMesto.ru

0.0321441 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU)