Module Apt

module Apt: sig .. end
Apt command line parsing

module Pcre: Re_pcre
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 Format822.vpkgreq list
| Remove of Format822.vpkgreq list
| Upgrade of Format822.suite option
| DistUpgrade of Format822.suite option
val parse_req : string -> Format822.vpkgreq
val parse_pkg_req : Format822.suite option ->
string ->
Format822.action option *
((string * Format822.architecture option) * Format822.constr option) *
Format822.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 * Format822.architecture -> Pref.package_t
val pin_regexp : Re.re
val parse_pin : 'a * string -> Pref.pin_t
val parse_preferences_stanza : (string * ('a * Format822.architecture)) list -> Pref.apt_preferences
val preferences_parser : (Format822.stanza -> 'a) -> 'a list -> Format822.deb_parser -> 'a list
val parse_preferences_in : IO.input -> Pref.apt_preferences list
parse the apt_preferences file