File: ipk-control.c

package info (click to toggle)
listaller 0.5.9-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 8,096 kB
  • ctags: 1,611
  • sloc: xml: 11,195; ansic: 2,298; sh: 1,648; perl: 1,452; cpp: 1,289; java: 157; makefile: 134; cs: 48; python: 24
file content (223 lines) | stat: -rw-r--r-- 8,096 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
/**
 * SECTION:ipk-control
 * @short_description: Generic IPK package control data
 */
/**
 * LISTALLER_IPK_TYPE_CONTROL:
 * 
 * The type for <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link>.
 */
/**
 * listaller_ipk_control_load_appstream_data:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @data: &nbsp;
 */
/**
 * listaller_ipk_control_open_packsetting:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @pksFName: &nbsp;
 */
/**
 * listaller_ipk_control_get_ipk_version:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 */
/**
 * listaller_ipk_control_set_ipk_version:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @ipkV: &nbsp;
 */
/**
 * listaller_ipk_control_get_architectures:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * 
 * Get architectures supported by this package
 */
/**
 * listaller_ipk_control_set_architectures:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @archs: &nbsp;
 * 
 * Set architectures supported by this package
 */
/**
 * listaller_ipk_control_get_replaces:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * 
 * Get replaced native components for the package.
 * 
 * <para>DEPRECATED</para>
 */
/**
 * listaller_ipk_control_set_replaces:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @repList: &nbsp;
 * 
 * DEPRECATED
 */
/**
 * listaller_ipk_control_set_install_modes:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @modes: &nbsp;
 */
/**
 * listaller_ipk_control_get_install_modes:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 */
/**
 * listaller_ipk_control_get_application:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @error: (error-domains ListallerIPKControlDataError): location to store the error occuring, or %NULL to ignore
 */
/**
 * listaller_ipk_control_set_dependencies:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @dependencies_list: &nbsp;
 * @arch: &nbsp;
 */
/**
 * listaller_ipk_control_get_dependencies:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @arch: &nbsp;
 * @arch_only: &nbsp;
 */
/**
 * listaller_ipk_control_set_license_text_from_file:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @fname: &nbsp;
 */
/**
 * listaller_ipk_control_set_license_text:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance
 * @txt: &nbsp;
 */
/**
 * ListallerIPKControl:user-accept-license:
 * 
 * TRUE if user should manually accept the supplied license/eula. FALSE if there is no need to do this.
 */
/**
 * listaller_ipk_control_get_user_accept_license:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance to query
 * 
 * Get and return the current value of the <link linkend="ListallerIPKControl--user-accept-license"><type>"user-accept-license"</type></link> property.
 * 
 * TRUE if user should manually accept the supplied license/eula. FALSE if there is no need to do this.
 * 
 * Returns: the value of the <link linkend="ListallerIPKControl--user-accept-license"><type>"user-accept-license"</type></link> property
 */
/**
 * listaller_ipk_control_set_user_accept_license:
 * @self: the <link linkend="ListallerIPKControl"><type>ListallerIPKControl</type></link> instance to modify
 * @value: the new value of the <link linkend="ListallerIPKControl--user-accept-license"><type>"user-accept-license"</type></link> property
 * 
 * Set the value of the <link linkend="ListallerIPKControl--user-accept-license"><type>"user-accept-license"</type></link> property to @value.
 * 
 * TRUE if user should manually accept the supplied license/eula. FALSE if there is no need to do this.
 */
/**
 * ListallerIPKControl:
 * 
 * Generic IPK package control data
 */
/**
 * ListallerIPKControlClass:
 * @parent_class: the parent class structure
 * 
 * The class structure for <link linkend="LISTALLER-IPK-TYPE-CONTROL:CAPS"><literal>LISTALLER_IPK_TYPE_CONTROL</literal></link>. All the fields in this structure are private and should never be accessed directly.
 */
/**
 * LISTALLER_IPK_TYPE_PACK_CONTROL:
 * 
 * The type for <link linkend="ListallerIPKPackControl"><type>ListallerIPKPackControl</type></link>.
 */
/**
 * listaller_ipk_pack_control_open_control:
 * @self: the <link linkend="ListallerIPKPackControl"><type>ListallerIPKPackControl</type></link> instance
 * @fPackSetting: &nbsp;
 * @fAppStream: &nbsp;
 */
/**
 * listaller_ipk_pack_control_create_new:
 * @self: the <link linkend="ListallerIPKPackControl"><type>ListallerIPKPackControl</type></link> instance
 * @newAppStreamData: &nbsp;
 * @ipkV: &nbsp;
 */
/**
 * listaller_ipk_pack_control_is_delta_pkg:
 * @self: the <link linkend="ListallerIPKPackControl"><type>ListallerIPKPackControl</type></link> instance
 */
/**
 * listaller_ipk_pack_control_save_to_dir:
 * @self: the <link linkend="ListallerIPKPackControl"><type>ListallerIPKPackControl</type></link> instance
 * @dirPath: &nbsp;
 */
/**
 * listaller_ipk_pack_control_get_files:
 * @self: the <link linkend="ListallerIPKPackControl"><type>ListallerIPKPackControl</type></link> instance
 * 
 * Returns: (array length=result_length1): 
 */
/**
 * listaller_ipk_pack_control_update_installmode_data:
 * @self: the <link linkend="ListallerIPKPackControl"><type>ListallerIPKPackControl</type></link> instance
 */
/**
 * listaller_ipk_pack_control_new:
 */
/**
 * ListallerIPKPackControl:
 * 
 * Control metadata of an IPK package
 */
/**
 * ListallerIPKPackControlClass:
 * @parent_class: the parent class structure
 * 
 * The class structure for <link linkend="LISTALLER-IPK-TYPE-PACK-CONTROL:CAPS"><literal>LISTALLER_IPK_TYPE_PACK_CONTROL</literal></link>. All the fields in this structure are private and should never be accessed directly.
 */
/**
 * LISTALLER_IPK_TYPE_CONTROL_DIR:
 * 
 * The type for <link linkend="ListallerIPKControlDir"><type>ListallerIPKControlDir</type></link>.
 */
/**
 * listaller_ipk_control_dir_open_dir:
 * @self: the <link linkend="ListallerIPKControlDir"><type>ListallerIPKControlDir</type></link> instance
 * @dir: &nbsp;
 * @error: (error-domains ListallerIPKControlDataError): location to store the error occuring, or %NULL to ignore
 */
/**
 * listaller_ipk_control_dir_get_files_rootdir:
 * @self: the <link linkend="ListallerIPKControlDir"><type>ListallerIPKControlDir</type></link> instance
 */
/**
 * listaller_ipk_control_dir_auto_dependency_search:
 * @self: the <link linkend="ListallerIPKControlDir"><type>ListallerIPKControlDir</type></link> instance
 */
/**
 * listaller_ipk_control_dir_get_appstream_data:
 * @self: the <link linkend="ListallerIPKControlDir"><type>ListallerIPKControlDir</type></link> instance
 */
/**
 * listaller_ipk_control_dir_save_control:
 * @self: the <link linkend="ListallerIPKControlDir"><type>ListallerIPKControlDir</type></link> instance
 */
/**
 * listaller_ipk_control_dir_new:
 */
/**
 * ListallerIPKControlDir:
 * 
 * Data stored in an IPK-source control directory.
 * 
 * <para>This class is used by tools like lipkgen to extract data about a to-be-created IPK package from an IPK control directory.</para>
 */
/**
 * ListallerIPKControlDirClass:
 * @parent_class: the parent class structure
 * 
 * The class structure for <link linkend="LISTALLER-IPK-TYPE-CONTROL-DIR:CAPS"><literal>LISTALLER_IPK_TYPE_CONTROL_DIR</literal></link>. All the fields in this structure are private and should never be accessed directly.
 */
/**
 * ListallerIPKControlDataError:
 */