| Listaller Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Properties | ||||
#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_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,const gchar *dependencies_list,const gchar *arch); gchar * listaller_ipk_control_get_dependencies (ListallerIPKControl *self,const gchar *arch,gboolean arch_only); 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); 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;
GObject +----ListallerIPKControl +----ListallerIPKControlDir +----ListallerIPKPackControl
GObject +----ListallerIPKControl +----ListallerIPKPackControl
GObject +----ListallerIPKControl +----ListallerIPKControlDir
#define LISTALLER_IPK_TYPE_CONTROL (listaller_ipk_control_get_type ())
The type for ListallerIPKControl.
gboolean listaller_ipk_control_open_doap (ListallerIPKControl *self,const gchar *data);
|
the ListallerIPKControl instance |
|
gboolean listaller_ipk_control_open_doap_file (ListallerIPKControl *self,const gchar *fname);
|
the ListallerIPKControl instance |
|
gboolean listaller_ipk_control_open_packsetting (ListallerIPKControl *self,const gchar *pksFName);
|
the ListallerIPKControl instance |
|
gchar * listaller_ipk_control_get_ipk_version
(ListallerIPKControl *self);
|
the ListallerIPKControl instance |
void listaller_ipk_control_set_ipk_version (ListallerIPKControl *self,const gchar *ipkV);
|
the ListallerIPKControl instance |
|
gchar * listaller_ipk_control_get_architectures
(ListallerIPKControl *self);
Get architectures supported by this package
|
the ListallerIPKControl instance |
void listaller_ipk_control_set_architectures (ListallerIPKControl *self,const gchar *archs);
Set architectures supported by this package
|
the ListallerIPKControl instance |
|
gchar * listaller_ipk_control_get_replaces (ListallerIPKControl *self);
Get replaced native components for the package.
|
the ListallerIPKControl instance |
void listaller_ipk_control_set_replaces (ListallerIPKControl *self,const gchar *repList);
|
the ListallerIPKControl instance |
|
void listaller_ipk_control_set_install_modes (ListallerIPKControl *self,ListallerIPKInstallMode modes);
|
the ListallerIPKControl instance |
|
ListallerIPKInstallMode listaller_ipk_control_get_install_modes
(ListallerIPKControl *self);
|
the ListallerIPKControl instance |
ListallerAppItem * listaller_ipk_control_get_application
(ListallerIPKControl *self);
|
the ListallerIPKControl instance |
void listaller_ipk_control_set_dependencies (ListallerIPKControl *self,const gchar *dependencies_list,const gchar *arch);
|
the ListallerIPKControl instance |
|
|
|
gchar * listaller_ipk_control_get_dependencies (ListallerIPKControl *self,const gchar *arch,gboolean arch_only);
|
the ListallerIPKControl instance |
|
|
|
gboolean listaller_ipk_control_set_license_text_from_file (ListallerIPKControl *self,const gchar *fname);
|
the ListallerIPKControl instance |
|
void listaller_ipk_control_set_license_text (ListallerIPKControl *self,const gchar *txt);
|
the ListallerIPKControl instance |
|
gboolean listaller_ipk_control_get_user_accept_license
(ListallerIPKControl *self);
Get and return the current value of the "user-accept-license" property.
TRUE if user should manually accept the supplied license/eula. FALSE if there is no need to do this.
|
the ListallerIPKControl instance to query |
Returns : |
the value of the "user-accept-license" property |
void listaller_ipk_control_set_user_accept_license (ListallerIPKControl *self,gboolean value);
Set the value of the "user-accept-license" property to value.
TRUE if user should manually accept the supplied license/eula. FALSE if there is no need to do this.
|
the ListallerIPKControl instance to modify |
|
the new value of the "user-accept-license" property |
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 |
the parent class structure |
#define LISTALLER_IPK_TYPE_PACK_CONTROL (listaller_ipk_pack_control_get_type ())
The type for ListallerIPKPackControl.
gboolean listaller_ipk_pack_control_open_control (ListallerIPKPackControl *self,const gchar *fPackSetting,const gchar *fDoap);
|
the ListallerIPKPackControl instance |
|
|
|
gboolean listaller_ipk_pack_control_create_new (ListallerIPKPackControl *self,const gchar *newDoapData,const gchar *ipkV);
|
the ListallerIPKPackControl instance |
|
|
|
gboolean listaller_ipk_pack_control_is_delta_pkg
(ListallerIPKPackControl *self);
|
the ListallerIPKPackControl instance |
gboolean listaller_ipk_pack_control_save_to_dir (ListallerIPKPackControl *self,const gchar *dirPath);
|
the ListallerIPKPackControl instance |
|
gchar ** listaller_ipk_pack_control_get_files
(ListallerIPKPackControl *self);
|
the ListallerIPKPackControl instance |
Returns : |
. [array length=result_length1] |
void listaller_ipk_pack_control_update_installmode_data
(ListallerIPKPackControl *self);
|
the ListallerIPKPackControl instance |
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 |
the parent class structure |
#define LISTALLER_IPK_TYPE_CONTROL_DIR (listaller_ipk_control_dir_get_type ())
The type for ListallerIPKControlDir.
gboolean listaller_ipk_control_dir_open_dir (ListallerIPKControlDir *self,const gchar *dir,GError **error);
|
the ListallerIPKControlDir instance |
|
|
|
location to store the error occuring, or NULL to ignore. [error-domains ListallerIPKControlDataError]
|
gchar * listaller_ipk_control_dir_get_files_rootdir
(ListallerIPKControlDir *self);
|
the ListallerIPKControlDir instance |
gboolean listaller_ipk_control_dir_auto_dependency_search
(ListallerIPKControlDir *self);
|
the ListallerIPKControlDir instance |
gchar * listaller_ipk_control_dir_get_doap_data
(ListallerIPKControlDir *self);
|
the ListallerIPKControlDir instance |
gboolean listaller_ipk_control_dir_save_control
(ListallerIPKControlDir *self);
|
the ListallerIPKControlDir instance |
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 {
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 |
the parent class structure |
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;
"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