Module Apt

module Apt: sig .. end
Apt command line parsing

module Pcre: Re_pcre
val label : string
include struct ... end
val blank_regexp : Re.re
val parse_inst : Pervasives.in_channel -> (string * string, unit) ExtLib.Hashtbl.t
val parse_inst_from_cmd : string -> (string * string, unit) ExtLib.Hashtbl.t
val parse_inst_from_file : string -> (string * string, unit) ExtLib.Hashtbl.t
val parse_popcon : string -> int * string * int
type apt_req = 
| Install of Packages_types.vpkgreq list
| Remove of Packages_types.vpkgreq list
| Upgrade of Packages_types.suite option
| DistUpgrade of Packages_types.suite option
val parse_req : string -> Packages_types.vpkgreq
val parse_pkg_req : Packages_types.suite option ->
string ->
Packages_types.action option *
((string * Packages_types.architecture option) * Packages_types.constr option) *
Packages_types.suite option
val parse_request_apt : string -> apt_req
parse a string containing an apt-get command line
Returns a data structure containing the request
val parse_request_aptitude : string -> apt_req
module Pref: sig .. end
for details on the apt_preferences format : man apt_preferences
val comma_regexp : Re.re
val eq_regexp : Re.re
val di_regexp : Re.re
val al_regexp : Re.re
val parse_pref_labels : string -> (string * string) list
val general_regexp : Re.re
val parse_pref_package : 'a * Packages_types.architecture -> Pref.package_t
val pin_regexp : Re.re
val parse_pin : 'a * string -> Pref.pin_t
val parse_preferences_stanza : (string * ('a * Packages_types.architecture)) list ->
Pref.apt_preferences
val preferences_parser : (Common.Format822.stanza -> 'a) ->
'a list -> Common.Format822.f822_parser -> 'a list
val parse_preferences_in : IO.input -> Pref.apt_preferences list
parse the apt_preferences file