libdpkg: Add varbuf_add_varbuf() function
[dpkg.git] / lib / dpkg / libdpkg.map
blobd874a142d50145ce25cf0e8b15e7c940aeff9eb6
1 LIBDPKG_0 {
2 global:
3         # Error reporting
4         dpkg_has_error;
5         dpkg_put_warn;
6         dpkg_put_error;
7         dpkg_put_errno;
8         dpkg_error_print;
9         dpkg_error_move;
10         dpkg_error_destroy;
12         # Charset and string functions
13         dpkg_locales_init;
14         dpkg_locales_done;
16         # Program name
17         dpkg_set_progname;
18         dpkg_get_progname;
20         # Program setup/teardown
21         dpkg_program_init;
22         dpkg_program_done;
24         # Ar support
25         dpkg_ar_fdopen;
26         dpkg_ar_create;
27         dpkg_ar_open;
28         dpkg_ar_set_mtime;
29         dpkg_ar_close;
30         dpkg_ar_normalize_name;
31         dpkg_ar_member_is_illegal;
33 local:
34         *;
37 LIBDPKG_PRIVATE {
38         # Color handling
39         color_set_mode;
40         color_get;
41         color_reset;
43         # Error handling
44         push_error_context_jump;
45         push_error_context_func;
46         push_error_context;
47         pop_error_context;
48         print_fatal_error;
49         catch_fatal_error;
50         push_checkpoint;
51         push_cleanup;
52         push_cleanup_fallback;
53         pop_cleanup;
54         onerr_abort;            # XXX variable, do not export
55         ohshitv;
56         ohshite;
57         ohshit;
58         do_internerr;
59         dpkg_set_report_piped_mode;
60         dpkg_set_report_buffer;
61         dpkg_warning_printer;
62         dpkg_set_warning_printer;
63         warning_get_count;
64         warningv;
65         warning;
66         notice;
67         info;
69         debug_set_output;
70         debug_set_mask;
71         debug_parse_mask;
72         debug_has_flag;
73         debug;
74         dpkg_debug_init;
76         # Generic cleanup
77         cu_closepipe;
78         cu_closestream;
79         cu_closedir;
80         cu_closefd;
81         cu_filename;
83         # ‘Must do’ functions
84         m_malloc;
85         m_calloc;
86         m_realloc;
87         m_strdup;
88         m_vasprintf;
89         m_asprintf;
90         m_dup;
91         m_dup2;
92         m_pipe;
93         m_output;
94         fgets_must;
95         fgets_checked;
97         # Charset and string functions
98         c_isbits;
100         str_match_end;
101         str_fnv_hash;
102         str_concat;
103         str_fmt;
104         str_escape_fmt;
105         str_strip_quotes;
106         str_rtrim_spaces;
107         str_quote_meta;
108         str_width;
109         str_gen_crop;
111         # Variable buffer support
112         varbuf_new;
113         varbuf_init;
114         varbuf_reset;
115         varbuf_grow;
116         varbuf_trunc;
117         varbuf_add_varbuf;
118         varbuf_add_char;
119         varbuf_dup_char;
120         varbuf_map_char;
121         varbuf_add_buf;
122         varbuf_add_dir;
123         varbuf_get_str;
124         varbuf_end_str;
125         varbuf_printf;
126         varbuf_vprintf;
127         varbuf_detach;
128         varbuf_snapshot;
129         varbuf_rollback;
130         varbuf_rollback_len;
131         varbuf_rollback_start;
132         varbuf_destroy;
133         varbuf_free;
135         # Path, directory and file functions
136         secure_unlink_statted;
137         secure_unlink;
138         secure_remove;
139         path_remove_tree;
140         path_skip_slash_dotslash;
141         path_trim_slash_slashdot;
142         path_basename;
143         path_make_temp_template;
144         path_quote_filename;
146         dir_make_path;
147         dir_make_path_parent;
148         dir_sync_path;
149         dir_sync_path_parent;
150         dir_sync_contents;
152         treenode_get_name;
153         treenode_get_mode;
154         treenode_get_virtname;
155         treenode_get_pathname;
156         treewalk_open;
157         treewalk_node;
158         treewalk_next;
159         treewalk_close;
160         treewalk;
162         file_is_exec;
163         file_copy_perms;
164         file_show;
165         file_slurp;
167         atomic_file_new;
168         atomic_file_open;
169         atomic_file_sync;
170         atomic_file_close;
171         atomic_file_commit;
172         atomic_file_remove;
173         atomic_file_free;
175         glob_list_prepend;
176         glob_list_free;
178         # Data structure functions
179         namevalue_find_by_name;
181         # Buffer I/O functions
182         fd_read;
183         fd_write;
184         fd_allocate_size;
185         buffer_digest;
186         buffer_skip_*;
187         buffer_copy_*;
189         # Subprocess and command handling
190         subproc_signals_ignore;
191         subproc_signals_cleanup;
192         subproc_signals_restore;
193         subproc_fork;
194         subproc_reap;
196         command_init;
197         command_add_arg;
198         command_add_argl;
199         command_add_argv;
200         command_add_args;
201         command_exec;
202         command_shell;
203         command_destroy;
205         pager_get_exec;
206         pager_spawn;
207         pager_reap;
208         pager_enable;
210         setcloexec;
212         # Memory information
213         meminfo_get_available_from_file;
214         meminfo_get_available;
216         # Compression support
217         compressor_find_by_name;
218         compressor_find_by_extension;
219         compressor_get_name;
220         compressor_get_extension;
221         compressor_get_strategy;
222         compressor_check_params;
223         compress_filter;
224         decompress_filter;
226         # Ar support
227         dpkg_ar_put_magic;
228         dpkg_ar_member_put_header;
229         dpkg_ar_member_put_file;
230         dpkg_ar_member_put_mem;
231         dpkg_ar_member_get_size;
233         # deb version support
234         deb_version_parse;
236         # Configuration and command line handling
237         dpkg_options_load;
238         dpkg_options_parse;
239         dpkg_options_parse_arg_int;
240         dpkg_options_parse_pkgname;
241         badusage;
242         cipaction;              # XXX variable, do not export
243         setaction;
244         setobsolete;
245         set_instdir;
246         set_admindir;
247         set_root;
249         # General logging
250         log_file;               # XXX variable, do not export
251         log_message;
253         # Action logging
254         statusfd_add;
255         statusfd_send;
257         # Progress report support
258         progress_init;
259         progress_step;
260         progress_done;
262         # Tar support
263         tar_atoul;
264         tar_atosl;
265         tar_extractor;
266         tar_entry_update_from_system;
268         # Non-freeing malloc (pool/arena)
269         nfmalloc;
270         nfstrnsave;
271         nfstrsave;
272         nffreeall;
274         # Version struct handling
275         dpkg_version_blank;
276         dpkg_version_is_informative;
277         dpkg_version_compare;
278         dpkg_version_relate;
279         versiondescribe;
280         versiondescribe_c;
281         parseversion;
283         # Architecture database
284         dpkg_arch_name_is_illegal;
285         dpkg_arch_describe;
286         dpkg_arch_find;
287         dpkg_arch_get;
288         dpkg_arch_get_list;
289         dpkg_arch_reset_list;
290         dpkg_arch_add;
291         dpkg_arch_unmark;
292         dpkg_arch_load_list;
293         dpkg_arch_save_list;
295         # Package struct handling
296         pkgset_blank;
297         pkgset_link_pkg;
298         pkgset_installed_instances;
299         pkg_blank;
300         pkgbin_blank;
301         pkg_name_is_illegal;
302         pkg_set_status;
303         pkg_set_eflags;
304         pkg_clear_eflags;
305         pkg_reset_eflags;
306         pkg_copy_eflags;
307         pkg_set_want;
308         pkg_is_informative;
309         copy_dependency_links;
310         pkg_sorter_by_nonambig_name_arch;
311         varbuf_add_pkgbin_name;
312         varbuf_add_archqual;
313         varbuf_add_source_version;
314         pkgbin_name;
315         pkg_name;
316         pkgbin_name_const;
317         pkg_name_const;
318         pkg_source_version;
319         pkgbin_synopsis;
320         pkg_synopsis;
321         pkg_abbrev_want;
322         pkg_abbrev_status;
323         pkg_abbrev_eflag;
324         pkg_want_name;
325         pkg_eflag_name;
326         pkg_status_name;
327         pkg_priority_name;
329         # Package list handling
330         pkg_list_new;
331         pkg_list_free;
332         pkg_list_prepend;
334         # Package array handling
335         pkg_array_init_from_hash;
336         pkg_array_init_from_names;
337         pkg_array_foreach;
338         pkg_array_sort;
339         pkg_array_destroy;
341         # Package queue handling
342         pkg_queue_init;
343         pkg_queue_destroy;
344         pkg_queue_is_empty;
345         pkg_queue_push;
346         pkg_queue_pop;
348         # Package in-core database functions
349         pkg_hash_find_set;
350         pkg_hash_find_singleton;
351         pkg_hash_find_pkg;
352         pkg_hash_get_singleton;
353         pkg_hash_count_set;
354         pkg_hash_count_pkg;
355         pkg_hash_reset;
356         pkg_hash_iter_new;
357         pkg_hash_iter_next_set;
358         pkg_hash_iter_next_pkg;
359         pkg_hash_iter_free;
360         pkg_hash_report;
362         # Package field handling
363         booleaninfos;           # XXX variable, do not export
364         fieldinfos;             # XXX variable, do not export
365         find_field_info;
366         find_arbfield_info;
368         # Package field format handling
369         pkg_format_parse;
370         pkg_format_print;
371         pkg_format_show;
372         pkg_format_needs_db_fsys;
373         pkg_format_free;
375         # Package specifiers
376         pkg_spec_is_illegal;
377         pkg_spec_init;
378         pkg_spec_destroy;
379         pkg_spec_set;
380         pkg_spec_parse;
381         pkg_spec_match_pkg;
382         pkg_spec_parse_pkg;
383         pkg_spec_find_pkg;
384         pkg_spec_iter_init;
385         pkg_spec_iter_next_pkg;
386         pkg_spec_iter_destroy;
388         # Dependency and Conflict functions
389         pkg_virtual_deppossi_satisfied;
390         deparchsatisfied;
391         archsatisfied;
392         versionsatisfied;
394         # Package on-disk database functions
395         wantinfos;              # XXX variable, do not export
396         varbuf_add_arbfield;
397         varbufdependency;
398         varbuf_stanza;
399         write_stanza;
400         parsedb_new;
401         parsedb_open;
402         parsedb_load;
403         parsedb_parse;
404         parsedb_close;
405         parsedb;
406         writedb_stanzas;
407         writedb;
409         dpkg_db_set_dir;
410         dpkg_db_get_dir;
411         dpkg_db_get_path;
413         # Log based package on-disk database support
414         modstatdb_init;
415         modstatdb_is_locked;
416         modstatdb_can_lock;
417         modstatdb_lock;
418         modstatdb_unlock;
419         modstatdb_open;
420         modstatdb_get_status;
421         modstatdb_note;
422         modstatdb_note_ifwrite;
423         modstatdb_checkpoint;
424         modstatdb_shutdown;
425         modstatdb_done;
427         # Package on-disk control database support
428         pkg_infodb_foreach;
429         pkg_infodb_get_dir;
430         pkg_infodb_get_file;
431         pkg_infodb_has_file;
432         pkg_infodb_upgrade;
434         # Package on-disk diversion database support
435         ensure_diversions;
437         # Filesystem node hash support
438         fsys_hash_init;
439         fsys_hash_reset;
440         fsys_hash_entries;
441         fsys_hash_find_node;
442         fsys_hash_report;
444         fsys_hash_iter_new;
445         fsys_hash_iter_next;
446         fsys_hash_iter_free;
448         fsys_hash_rev_iter_init;
449         fsys_hash_rev_iter_next;
450         fsys_hash_rev_iter_abort;
452         fsys_node_pkgs_iter_new;
453         fsys_node_pkgs_iter_next;
454         fsys_node_pkgs_iter_free;
456         dpkg_fsys_set_dir;
457         dpkg_fsys_get_dir;
458         dpkg_fsys_get_path;
460         # Package on-disk filesystem database support
461         parse_filehash;
462         write_filelist_except;
463         write_filehash_except;
464         ensure_packagefiles_available;
465         ensure_allinstfiles_available;
466         ensure_allinstfiles_available_quiet;
468         # Package on-disk stat override database support
469         statdb_parse_uid;
470         statdb_parse_gid;
471         statdb_parse_mode;
472         ensure_statoverrides;
474         # Triggers support
475         trig_name_is_illegal;
476         trigdef_set_methods;
477         trigdef_update_start;
478         trigdef_update_printf;
479         trigdef_parse;
480         trigdef_process_done;
481         trig_override_hooks;
482         trig_file_activate_byname;
483         trig_file_activate;
484         trig_path_activate;
485         trig_note_pend;
486         trig_note_aw;
487         trig_clear_awaiters;
488         trig_file_interests_ensure;
489         trig_file_interests_save;
490         trig_cicb_interest_delete;
491         trig_cicb_interest_add;
492         trig_parse_ci;
493         trig_cicb_statuschange_activate;
494         trig_incorporate;
495 } LIBDPKG_0;