[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [Ibija-devel] ibj-jar-file.h
From: |
mohinze tidjani |
Subject: |
RE: [Ibija-devel] ibj-jar-file.h |
Date: |
Wed, 07 Aug 2002 13:18:02 -0400 |
Hi Dodji,
As I told you, me and Gaelle are working on Ibijar that would be the jar tool
and classes of Ibija!
I not already a diff pro user and I have to learn
This is the last version of the "ibj-jar-file.h" update from the last CVS one!
cheers
--
Mohinze TIDJANI
Etage 2, Porte G. 48, Avenue Victor CRESSON
92130 Issy les Moulineaux
tel(Mob) +33(0)6 09 74 49 99
tel(bur) +33(0)1 49 04 37 97
tel(perso)+33(0)1 46 45 20 96
"Les verites que l'on tait deviennent veneneuses. " d'un philosophe.
__________________________________________________________________
Your favorite stores, helpful shopping tools and great gift ideas. Experience
the convenience of buying online with address@hidden
http://shopnow.netscape.com/
Get your own FREE, personal Netscape Mail account today at
http://webmail.netscape.com/
/* -*- Mode: C; c-file-style: "gnu"; indent-tabs-mode:nil -*- */
/*
*This file is part of Ibija, the Bytecode Interpreter for Java Applications.
*Ibija is a projects of the Red Zebras association.
*
*Ibija is free software; you can redistribute it and/or modify it under the
terms of
*the GNU General Public License as published by the Free Software Foundation;
either version 2
*or (at your option) any later version.
*
*Ibija is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY;
*without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
*See the GNU General Public License for more details.
*
*You should have received a copy of the GNU General Public License along with
Ibija.
*see the file COPYING. If not, write to the Free Software Foundation, Inc., 59
Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
*
*Copyright (C) 2002 the Red Zebras Association.
*/
#ifndef __IBJ_JAR_FILE_H__
#define __IBJ_JAR_FILE_H__
#include <glib.h>
#include "ibj-global-constants.h" /*from libninja*/
/**
address@hidden
*The declaration of the #IbjJarFile class.
*/
/*
*The values of the
*access flags of the class
*/
extern guint16 IBJ_ACC_PUBLIC ;
extern guint16 IBJ_ACC_FINAL ;
extern guint16 IBJ_ACC_SUPER ;
extern guint16 IBJ_ACC_INTERFACE ;
extern guint16 IBJ_ACC_ABSTRACT ;
/**
*The abstraction of the
*Standard jar file data structure.
*The basic service provided by this
*class is "parsing the jar file".
*
*See JAR spec ..
*http://java.sun.com/j2se/1.3/docs/guide/jar/jar.html
*http://www.gzip.org/zlib/
*/
typedef struct _IbjJarEnumeration IbjJarEnumeration
typedef struct _IbjJarEnumerationPrivate IbjJarEnumerationPrivate ;
struct _IbjJarEnumeration {
IbjJarEnumerationPrivate * priv ;
} ;
typedef struct _IbjJarZipEntry IbjJarZipEntry ;
typedef struct _IbjJarZipEntryPrivate IbjJarZipEntryPrivate ;
struct _IbjJarZipEntry
{
IbjJarZipEntryPrivate *priv ;
} ;
typedef struct _IbjJarEntry IbjJarEntry ;
typedef struct _IbjJarEntryPrivate IbjJarEntryPrivate ;
struct _IbjJarEntry
{
IbjJarEntryPrivate *priv ;
} ;
typedef struct _IbjJarManifest IbjJarManifest ;
typedef struct _IbjJarManifestPrivate IbjJarManifestPrivate ;
struct _IbjJarManifest
{
IbjJarManifestPrivate *priv ;
} ;
typedef struct _IbjJarInputStreamPrivate IbjJarInputStreamPrivate ;
typedef struct _IbjJarInputStream IbjJarInputStream ;
struct _IbjJarInputStream
{
IbjJarInputStreamPrivate *priv ;
} ;
typedef struct _IbjJarIndexListPrivate IbjJarIndexListPrivate ;
typedef struct _IbjJarIndexList IbjJarIndexList ;
struct _IbjJarIndexList
{
IbjJarIndexListPrivate *priv ;
} ;
typedef struct _IbjJarServiceProviderConfFilesPrivate
IbjJarServiceProviderConfFilesPrivate ;
typedef struct _IbjJarServiceProviderConfFiles IbjJarServiceProviderConfFiles ;
struct _IbjJarServiceProviderConfFiles
{
IbjJarServiceProviderConfFilesPrivate *priv ;
} ;
typedef struct _IbjJarDigitalSignatureAPrivate IbjJarDigitalSignatureAPrivate ;
typedef struct _IbjJarDigitalSignatureA IbjJarDigitalSignatureA ;
struct _IbjJarDigitalSignatureA
{
IbjJarDigitalSignatureAPrivate *priv ;
} ;
typedef struct _IbjJarSignatureFilePrivate IbjJarSignatureFilePrivate ;
typedef struct _IbjJarSignatureFile IbjJarSignatureFile ;
struct _IbjJarSignatureFile
{
IbjJarSignatureFilePrivate *priv ;
} ;
typedef struct _IbjJarMetaInfPrivate IbjJarMetaInfPrivate ;
typedef struct _IbjJarMetaInf IbjJarMetaInf ;
struct _IbjJarMetaInf
{
IbjJarMetaInfPrivate *priv ;
} ;
typedef struct _IbjJarFile IbjJarFile ;
typedef struct _IbjJarFilePrivate IbjJarFilePrivate ;
/**
*An abstraction of the jar file
*/
struct _IbjJarFile {
IbjJarFilePrivate *priv ;
} ;
enum IbjStatus
ibj_jar_file_new (gchar *a_file_path,
IbjJarFile ** a_jar_file) ;
enum IbjStatus
ibj_jar_file_entries (IbjJarFile ** a_jar_file,
IbjEnumeration *an_enumeration) ;
enum IbjStatus
ibj_jar_file_get_entry (IbjJarFile * a_jar_file,
IbjJarZipEntry *a_zip_entry) ;
enum IbjStatus
ibj_jar_file_get_input_stream (IbjJarFile * a_jar_file,
IbjJarInputStream *an_input_stream) ;
enum IbjStatus
ibj_jar_file_get_jar_entry (IbjJarFile * a_jar_file,
IbjJarEntry *a_jar_entry) ;
enum IbjStatus
ibj_jar_file_get_manifest (IbjJarFile * a_jar_file,
IbjJarManifest *a_manifest) ;
enum IbjStatus
ibj_jar_file_resolve_utf8_str_from_index (IbjJarFile *a_jar_file,
guint16 a_index,
gchar **a_utf8_str,
gsize *a_len) ;
enum IbjStatus
ibj_jar_file_delete (IbjJarFile *a_jar_file) ;
enum IbjStatus
ibj_jar_file_load (IbjJarFile *a_jar_file,
gchar *a_file_path) ;
enum IbjStatus
ibj_jar_file_dump_report (IbjJarFile *a_jar_file,
gchar *a_file_path) ;
#endif /*__IBJ_JAR_FILE_H__*/
- RE: [Ibija-devel] ibj-jar-file.h,
mohinze tidjani <=