ListallerIPKControl

ListallerIPKControl — Generic IPK package control data

Synopsis

#define             LISTALLER_IPK_TYPE_CONTROL
gboolean            listaller_ipk_control_open_doap     (ListallerIPKControl *self,
                                                         const gchar *data);
gboolean            listaller_ipk_control_open_doap_file
                                                        (ListallerIPKControl *self,
                                                         const gchar *fname);
gboolean            listaller_ipk_control_open_depinfo  (ListallerIPKControl *self,
                                                         const gchar *depMetaFile);
gboolean            listaller_ipk_control_open_packsetting
                                                        (ListallerIPKControl *self,
                                                         const gchar *pksFName);
gchar *             listaller_ipk_control_get_ipk_version
                                                        (ListallerIPKControl *self);
void                listaller_ipk_control_set_ipk_version
                                                        (ListallerIPKControl *self,
                                                         const gchar *ipkV);
gchar *             listaller_ipk_control_get_architectures
                                                        (ListallerIPKControl *self);
void                listaller_ipk_control_set_architectures
                                                        (ListallerIPKControl *self,
                                                         const gchar *archs);
gchar *             listaller_ipk_control_get_replaces  (ListallerIPKControl *self);
void                listaller_ipk_control_set_replaces  (ListallerIPKControl *self,
                                                         const gchar *repList);
void                listaller_ipk_control_set_install_modes
                                                        (ListallerIPKControl *self,
                                                         ListallerIPKInstallMode modes);
ListallerIPKInstallMode listaller_ipk_control_get_install_modes
                                                        (ListallerIPKControl *self);
ListallerAppItem *  listaller_ipk_control_get_application
                                                        (ListallerIPKControl *self);
void                listaller_ipk_control_set_dependencies
                                                        (ListallerIPKControl *self,
                                                         GeeArrayList *list);
GeeArrayList *      listaller_ipk_control_get_dependencies
                                                        (ListallerIPKControl *self);
gboolean            listaller_ipk_control_set_license_text_from_file
                                                        (ListallerIPKControl *self,
                                                         const gchar *fname);
void                listaller_ipk_control_set_license_text
                                                        (ListallerIPKControl *self,
                                                         const gchar *txt);
gboolean            listaller_ipk_control_get_user_accept_license
                                                        (ListallerIPKControl *self);
void                listaller_ipk_control_set_user_accept_license
                                                        (ListallerIPKControl *self,
                                                         gboolean value);
struct              ListallerIPKControl;
struct              ListallerIPKControlClass;
#define             LISTALLER_IPK_TYPE_PACK_CONTROL
gboolean            listaller_ipk_pack_control_open_control
                                                        (ListallerIPKPackControl *self,
                                                         const gchar *fPackSetting,
                                                         const gchar *fDoap,
                                                         const gchar *fDeps);
gboolean            listaller_ipk_pack_control_create_new
                                                        (ListallerIPKPackControl *self,
                                                         const gchar *newDoapData,
                                                         const gchar *ipkV);
gboolean            listaller_ipk_pack_control_is_delta_pkg
                                                        (ListallerIPKPackControl *self);
gboolean            listaller_ipk_pack_control_save_to_dir
                                                        (ListallerIPKPackControl *self,
                                                         const gchar *dirPath);
gchar **            listaller_ipk_pack_control_get_files
                                                        (ListallerIPKPackControl *self);
void                listaller_ipk_pack_control_update_installmode_data
                                                        (ListallerIPKPackControl *self);
ListallerIPKPackControl * listaller_ipk_pack_control_new
                                                        (void);
struct              ListallerIPKPackControl;
struct              ListallerIPKPackControlClass;
#define             LISTALLER_IPK_TYPE_CONTROL_DIR
gboolean            listaller_ipk_control_dir_open_dir  (ListallerIPKControlDir *self,
                                                         const gchar *dir,
                                                         GError **error);
gchar *             listaller_ipk_control_dir_get_files_rootdir
                                                        (ListallerIPKControlDir *self);
gboolean            listaller_ipk_control_dir_auto_dependency_search
                                                        (ListallerIPKControlDir *self);
gchar *             listaller_ipk_control_dir_get_doap_data
                                                        (ListallerIPKControlDir *self);
gboolean            listaller_ipk_control_dir_save_control
                                                        (ListallerIPKControlDir *self);
ListallerIPKControlDir * listaller_ipk_control_dir_new  (void);
struct              ListallerIPKControlDir;
struct              ListallerIPKControlDirClass;
enum                ListallerIPKControlDataError;

Object Hierarchy

  GObject
   +----ListallerIPKControl
         +----ListallerIPKControlDir
         +----ListallerIPKPackControl
  GObject
   +----ListallerIPKControl
         +----ListallerIPKPackControl
  GObject
   +----ListallerIPKControl
         +----ListallerIPKControlDir

Properties

  "user-accept-license"      gboolean              : Read / Write

Description

Details

LISTALLER_IPK_TYPE_CONTROL

#define LISTALLER_IPK_TYPE_CONTROL (listaller_ipk_control_get_type ())

The type for ListallerIPKControl.


listaller_ipk_control_open_doap ()

gboolean            listaller_ipk_control_open_doap     (ListallerIPKControl *self,
                                                         const gchar *data);

self :

the ListallerIPKControl instance

listaller_ipk_control_open_doap_file ()

gboolean            listaller_ipk_control_open_doap_file
                                                        (ListallerIPKControl *self,
                                                         const gchar *fname);

self :

the ListallerIPKControl instance

listaller_ipk_control_open_depinfo ()

gboolean            listaller_ipk_control_open_depinfo  (ListallerIPKControl *self,
                                                         const gchar *depMetaFile);

self :

the ListallerIPKControl instance

listaller_ipk_control_open_packsetting ()

gboolean            listaller_ipk_control_open_packsetting
                                                        (ListallerIPKControl *self,
                                                         const gchar *pksFName);

self :

the ListallerIPKControl instance

listaller_ipk_control_get_ipk_version ()

gchar *             listaller_ipk_control_get_ipk_version
                                                        (ListallerIPKControl *self);

self :

the ListallerIPKControl instance

listaller_ipk_control_set_ipk_version ()

void                listaller_ipk_control_set_ipk_version
                                                        (ListallerIPKControl *self,
                                                         const gchar *ipkV);

self :

the ListallerIPKControl instance

listaller_ipk_control_get_architectures ()

gchar *             listaller_ipk_control_get_architectures
                                                        (ListallerIPKControl *self);

Get architectures supported by this package

self :

the ListallerIPKControl instance

listaller_ipk_control_set_architectures ()

void                listaller_ipk_control_set_architectures
                                                        (ListallerIPKControl *self,
                                                         const gchar *archs);

Set architectures supported by this package

self :

the ListallerIPKControl instance

listaller_ipk_control_get_replaces ()

gchar *             listaller_ipk_control_get_replaces  (ListallerIPKControl *self);

Get replaced native components for the package.

self :

the ListallerIPKControl instance

listaller_ipk_control_set_replaces ()

void                listaller_ipk_control_set_replaces  (ListallerIPKControl *self,
                                                         const gchar *repList);

self :

the ListallerIPKControl instance

listaller_ipk_control_set_install_modes ()

void                listaller_ipk_control_set_install_modes
                                                        (ListallerIPKControl *self,
                                                         ListallerIPKInstallMode modes);

self :

the ListallerIPKControl instance

listaller_ipk_control_get_install_modes ()

ListallerIPKInstallMode listaller_ipk_control_get_install_modes
                                                        (ListallerIPKControl *self);

self :

the ListallerIPKControl instance

listaller_ipk_control_get_application ()

ListallerAppItem *  listaller_ipk_control_get_application
                                                        (ListallerIPKControl *self);

self :

the ListallerIPKControl instance

listaller_ipk_control_set_dependencies ()

void                listaller_ipk_control_set_dependencies
                                                        (ListallerIPKControl *self,
                                                         GeeArrayList *list);

self :

the ListallerIPKControl instance

listaller_ipk_control_get_dependencies ()

GeeArrayList *      listaller_ipk_control_get_dependencies
                                                        (ListallerIPKControl *self);

self :

the ListallerIPKControl instance

listaller_ipk_control_set_license_text_from_file ()

gboolean            listaller_ipk_control_set_license_text_from_file
                                                        (ListallerIPKControl *self,
                                                         const gchar *fname);

self :

the ListallerIPKControl instance

listaller_ipk_control_set_license_text ()

void                listaller_ipk_control_set_license_text
                                                        (ListallerIPKControl *self,
                                                         const gchar *txt);

self :

the ListallerIPKControl instance

listaller_ipk_control_get_user_accept_license ()

gboolean            listaller_ipk_control_get_user_accept_license
                                                        (ListallerIPKControl *self);

Get and return the current value of the "user-accept-license" property.

self :

the ListallerIPKControl instance to query

Returns :

the value of the "user-accept-license" property

listaller_ipk_control_set_user_accept_license ()

void                listaller_ipk_control_set_user_accept_license
                                                        (ListallerIPKControl *self,
                                                         gboolean value);

Set the value of the "user-accept-license" property to value.

self :

the ListallerIPKControl instance to modify

value :

the new value of the "user-accept-license" property

struct ListallerIPKControl

struct ListallerIPKControl;

Generic IPK package control data


struct ListallerIPKControlClass

struct ListallerIPKControlClass {
	GObjectClass parent_class;
};

The class structure for LISTALLER_IPK_TYPE_CONTROL. All the fields in this structure are private and should never be accessed directly.

GObjectClass parent_class;

the parent class structure

LISTALLER_IPK_TYPE_PACK_CONTROL

#define LISTALLER_IPK_TYPE_PACK_CONTROL (listaller_ipk_pack_control_get_type ())

The type for ListallerIPKPackControl.


listaller_ipk_pack_control_open_control ()

gboolean            listaller_ipk_pack_control_open_control
                                                        (ListallerIPKPackControl *self,
                                                         const gchar *fPackSetting,
                                                         const gchar *fDoap,
                                                         const gchar *fDeps);

self :

the ListallerIPKPackControl instance

listaller_ipk_pack_control_create_new ()

gboolean            listaller_ipk_pack_control_create_new
                                                        (ListallerIPKPackControl *self,
                                                         const gchar *newDoapData,
                                                         const gchar *ipkV);

self :

the ListallerIPKPackControl instance

listaller_ipk_pack_control_is_delta_pkg ()

gboolean            listaller_ipk_pack_control_is_delta_pkg
                                                        (ListallerIPKPackControl *self);

self :

the ListallerIPKPackControl instance

listaller_ipk_pack_control_save_to_dir ()

gboolean            listaller_ipk_pack_control_save_to_dir
                                                        (ListallerIPKPackControl *self,
                                                         const gchar *dirPath);

self :

the ListallerIPKPackControl instance

listaller_ipk_pack_control_get_files ()

gchar **            listaller_ipk_pack_control_get_files
                                                        (ListallerIPKPackControl *self);

self :

the ListallerIPKPackControl instance

Returns :

. [array length=result_length1]

listaller_ipk_pack_control_update_installmode_data ()

void                listaller_ipk_pack_control_update_installmode_data
                                                        (ListallerIPKPackControl *self);

self :

the ListallerIPKPackControl instance

listaller_ipk_pack_control_new ()

ListallerIPKPackControl * listaller_ipk_pack_control_new
                                                        (void);

struct ListallerIPKPackControl

struct ListallerIPKPackControl;

Control metadata of an IPK package


struct ListallerIPKPackControlClass

struct ListallerIPKPackControlClass {
	ListallerIPKControlClass parent_class;
};

The class structure for LISTALLER_IPK_TYPE_PACK_CONTROL. All the fields in this structure are private and should never be accessed directly.

ListallerIPKControlClass parent_class;

the parent class structure

LISTALLER_IPK_TYPE_CONTROL_DIR

#define LISTALLER_IPK_TYPE_CONTROL_DIR (listaller_ipk_control_dir_get_type ())

The type for ListallerIPKControlDir.


listaller_ipk_control_dir_open_dir ()

gboolean            listaller_ipk_control_dir_open_dir  (ListallerIPKControlDir *self,
                                                         const gchar *dir,
                                                         GError **error);

self :

the ListallerIPKControlDir instance

error :

location to store the error occuring, or NULL to ignore. [error-domains ListallerIPKControlDataError]

listaller_ipk_control_dir_get_files_rootdir ()

gchar *             listaller_ipk_control_dir_get_files_rootdir
                                                        (ListallerIPKControlDir *self);

self :

the ListallerIPKControlDir instance

listaller_ipk_control_dir_auto_dependency_search ()

gboolean            listaller_ipk_control_dir_auto_dependency_search
                                                        (ListallerIPKControlDir *self);

self :

the ListallerIPKControlDir instance

listaller_ipk_control_dir_get_doap_data ()

gchar *             listaller_ipk_control_dir_get_doap_data
                                                        (ListallerIPKControlDir *self);

self :

the ListallerIPKControlDir instance

listaller_ipk_control_dir_save_control ()

gboolean            listaller_ipk_control_dir_save_control
                                                        (ListallerIPKControlDir *self);

self :

the ListallerIPKControlDir instance

listaller_ipk_control_dir_new ()

ListallerIPKControlDir * listaller_ipk_control_dir_new  (void);

struct ListallerIPKControlDir

struct ListallerIPKControlDir;

Data stored in an IPK-source control directory.

This class is used by tools like lipkgen to extract data about a to-be-created IPK package from an IPK control directory.


struct ListallerIPKControlDirClass

struct ListallerIPKControlDirClass {
	ListallerIPKControlClass parent_class;
};

The class structure for LISTALLER_IPK_TYPE_CONTROL_DIR. All the fields in this structure are private and should never be accessed directly.

ListallerIPKControlClass parent_class;

the parent class structure

enum ListallerIPKControlDataError

typedef enum {
	LISTALLER_IPK_CONTROL_DATA_ERROR_NO_DOAP,
	LISTALLER_IPK_CONTROL_DATA_ERROR_DOAP_INVALID,
	LISTALLER_IPK_CONTROL_DATA_ERROR_DEPLIST_INVALID,
	LISTALLER_IPK_CONTROL_DATA_ERROR_INTERNAL,
	LISTALLER_IPK_CONTROL_DATA_ERROR_UNKNOWN
} ListallerIPKControlDataError;

Property Details

The "user-accept-license" property

  "user-accept-license"      gboolean              : Read / Write

TRUE if user should manually accept the supplied license/eula. FALSE if there is no need to do this.

Default value: FALSE