package caldav

  1. Overview
  2. Docs
val let* : ('a, 'b) Stdlib.result -> ('a -> ('c, 'b) Stdlib.result) -> ('c, 'b) Stdlib.result
module M : sig ... end
type namespace = string
val namespace_of_sexp : Sexplib0.Sexp.t -> namespace
val sexp_of_namespace : namespace -> Sexplib0.Sexp.t
val pp_namespace : Ppx_deriving_runtime.Format.formatter -> namespace -> Ppx_deriving_runtime.unit
val show_namespace : namespace -> Ppx_deriving_runtime.string
val equal_namespace : namespace -> namespace -> Ppx_deriving_runtime.bool
type name = string
val name_of_sexp : Sexplib0.Sexp.t -> name
val sexp_of_name : name -> Sexplib0.Sexp.t
val pp_name : Ppx_deriving_runtime.Format.formatter -> name -> Ppx_deriving_runtime.unit
val equal_name : name -> name -> Ppx_deriving_runtime.bool
type fqname = namespace * name
val fqname_of_sexp : Sexplib0.Sexp.t -> fqname
val sexp_of_fqname : fqname -> Sexplib0.Sexp.t
val pp_fqname : Ppx_deriving_runtime.Format.formatter -> fqname -> Ppx_deriving_runtime.unit
val show_fqname : fqname -> Ppx_deriving_runtime.string
val equal_fqname : fqname -> fqname -> Ppx_deriving_runtime.bool
type attribute = fqname * string
val attribute_of_sexp : Sexplib0.Sexp.t -> attribute
val sexp_of_attribute : attribute -> Sexplib0.Sexp.t
val pp_attribute : Ppx_deriving_runtime.Format.formatter -> attribute -> Ppx_deriving_runtime.unit
val show_attribute : attribute -> Ppx_deriving_runtime.string
val equal_attribute : attribute -> attribute -> Ppx_deriving_runtime.bool
type tree =
  1. | Pcdata of string
  2. | Node of namespace * name * attribute list * tree list
val tree_of_sexp : Sexplib0__.Sexp.t -> tree
val sexp_of_tree : tree -> Sexplib0__.Sexp.t
val pp_tree : Ppx_deriving_runtime.Format.formatter -> tree -> Ppx_deriving_runtime.unit
val equal_tree : tree -> tree -> Ppx_deriving_runtime.bool
type propfind = [
  1. | `All_prop of string list
  2. | `Propname
  3. | `Props of fqname list
]
val pp_propfind : Ppx_deriving_runtime.Format.formatter -> propfind -> Ppx_deriving_runtime.unit
val show_propfind : propfind -> Ppx_deriving_runtime.string
val equal_propfind : propfind -> propfind -> Ppx_deriving_runtime.bool
type propupdate = [
  1. | `Set of attribute list * fqname * tree list
  2. | `Remove of fqname
]
val pp_propupdate : Ppx_deriving_runtime.Format.formatter -> propupdate -> Ppx_deriving_runtime.unit
val show_propupdate : propupdate -> Ppx_deriving_runtime.string
val equal_propupdate : propupdate -> propupdate -> Ppx_deriving_runtime.bool
type comp = [
  1. | `Allcomp
  2. | `Comp of component list
]
and prop = [
  1. | `Allprop
  2. | `Prop of (string * bool) list
]
and component = string * prop * comp
val pp_comp : Ppx_deriving_runtime.Format.formatter -> comp -> Ppx_deriving_runtime.unit
val pp_prop : Ppx_deriving_runtime.Format.formatter -> prop -> Ppx_deriving_runtime.unit
val pp_component : Ppx_deriving_runtime.Format.formatter -> component -> Ppx_deriving_runtime.unit
val show_component : component -> Ppx_deriving_runtime.string
val equal_comp : comp -> comp -> Ppx_deriving_runtime.bool
val equal_prop : prop -> prop -> Ppx_deriving_runtime.bool
val equal_component : component -> component -> Ppx_deriving_runtime.bool
val pp_timerange : Ppx_deriving_runtime.Format.formatter -> timerange -> Ppx_deriving_runtime.unit
val show_timerange : timerange -> Ppx_deriving_runtime.string
val equal_timerange : timerange -> timerange -> Ppx_deriving_runtime.bool
type calendar_data = component option * [ `Expand of timerange | `Limit_recurrence_set of timerange ] option * [ `Limit_freebusy_set of timerange ] option
val pp_calendar_data : Ppx_deriving_runtime.Format.formatter -> calendar_data -> Ppx_deriving_runtime.unit
val show_calendar_data : calendar_data -> Ppx_deriving_runtime.string
val equal_calendar_data : calendar_data -> calendar_data -> Ppx_deriving_runtime.bool
type report_prop = [
  1. | `All_props
  2. | `Proplist of [ `Calendar_data of calendar_data | `Prop of fqname ] list
  3. | `Propname
]
val pp_report_prop : Ppx_deriving_runtime.Format.formatter -> report_prop -> Ppx_deriving_runtime.unit
val show_report_prop : report_prop -> Ppx_deriving_runtime.string
val equal_report_prop : report_prop -> report_prop -> Ppx_deriving_runtime.bool
type param_filter = [
  1. | `Param_filter of string * [ `Is_defined | `Is_not_defined | `Text_match of string * string * bool ]
]
val pp_param_filter : Ppx_deriving_runtime.Format.formatter -> param_filter -> Ppx_deriving_runtime.unit
val show_param_filter : param_filter -> Ppx_deriving_runtime.string
val equal_param_filter : param_filter -> param_filter -> Ppx_deriving_runtime.bool
type prop_filter = string * [ `Is_defined | `Is_not_defined | `Range of timerange * param_filter list | `Text of (string * string * bool) * param_filter list ]
val pp_prop_filter : Ppx_deriving_runtime.Format.formatter -> prop_filter -> Ppx_deriving_runtime.unit
val show_prop_filter : prop_filter -> Ppx_deriving_runtime.string
val equal_prop_filter : prop_filter -> prop_filter -> Ppx_deriving_runtime.bool
type comp_filter = [
  1. | `Is_defined
  2. | `Is_not_defined
  3. | `Comp_filter of timerange option * prop_filter list * component_filter list
]
and component_filter = string * comp_filter
val pp_comp_filter : Ppx_deriving_runtime.Format.formatter -> comp_filter -> Ppx_deriving_runtime.unit
val show_comp_filter : comp_filter -> Ppx_deriving_runtime.string
val pp_component_filter : Ppx_deriving_runtime.Format.formatter -> component_filter -> Ppx_deriving_runtime.unit
val show_component_filter : component_filter -> Ppx_deriving_runtime.string
val equal_comp_filter : comp_filter -> comp_filter -> Ppx_deriving_runtime.bool
type calendar_query = report_prop option * component_filter
val pp_calendar_query : Ppx_deriving_runtime.Format.formatter -> calendar_query -> Ppx_deriving_runtime.unit
val show_calendar_query : calendar_query -> Ppx_deriving_runtime.string
type calendar_multiget = report_prop option * string list
val pp_calendar_multiget : Ppx_deriving_runtime.Format.formatter -> calendar_multiget -> Ppx_deriving_runtime.unit
val show_calendar_multiget : calendar_multiget -> Ppx_deriving_runtime.string
module Uri : sig ... end
type principal = [
  1. | `Href of Uri.t
  2. | `All
  3. | `Authenticated
  4. | `Unauthenticated
  5. | `Self
]
val pp_principal : Ppx_deriving_runtime.Format.formatter -> principal -> Ppx_deriving_runtime.unit
val show_principal : principal -> Ppx_deriving_runtime.string
type privilege = [
  1. | `Read
  2. | `Write
  3. | `Write_content
  4. | `Write_properties
  5. | `Unlock
  6. | `Read_acl
  7. | `Read_current_user_privilege_set
  8. | `Write_acl
  9. | `Bind
  10. | `Unbind
  11. | `All
]
val pp_privilege : Ppx_deriving_runtime.Format.formatter -> privilege -> Ppx_deriving_runtime.unit
val show_privilege : privilege -> Ppx_deriving_runtime.string
type ace = principal * [ `Grant of privilege list | `Deny of privilege list | `Inherited of Uri.t ]
val pp_ace : Ppx_deriving_runtime.Format.formatter -> ace -> Ppx_deriving_runtime.unit
val caldav_ns : string
val dav_ns : string
val robur_ns : string
val node : ?ns:namespace -> name -> ?a:attribute list -> tree list -> tree
val dav_node : name -> ?a:attribute list -> tree list -> tree
val pcdata : string -> tree
val tree_fold_right : (tree -> 'a -> 'a -> 'a) -> 'a -> tree list -> 'a
val new_identifier : Stdlib.String.t M.t -> string -> string
val tree_unapply_namespaces : ?ns_map:Stdlib.String.t M.t -> tree -> tree * Stdlib.String.t M.t
val attach_namespaces : tree -> tree
val tyxml_to_body : Tyxml.Xml.elt -> string
val apply_ns : string -> string -> string
val attrib_to_tyxml : ((string * Tyxml.Xml.aname) * string Tyxml.Xml.wrap) -> Tyxml.Xml.attrib
val tree_to_tyxml : tree -> Tyxml.Xml.elt
val tree_to_string : tree -> string
val for_all : (char -> bool) -> string -> bool
val is_whitespace_node : tree -> bool
val string_to_tree : string -> tree option
val filter_map : ('a -> ('b, 'c) Stdlib.result) -> 'a list -> 'b list
val tree_lift : ('a -> 'b list -> ('c, 'd) Stdlib.result) -> (tree -> ('a, 'd) Stdlib.result) -> (tree -> ('b, 'e) Stdlib.result) -> tree -> ('c, 'd) Stdlib.result
val name_ns : Stdlib.String.t -> Stdlib.String.t -> tree -> (tree, string) Stdlib.result
val any : 'a -> ('a, 'b) Stdlib.result
val alternative : ('a -> ('b, 'c) Stdlib.result) -> ('a -> ('b, 'd) Stdlib.result) -> 'a -> ('b, 'd) Stdlib.result
val (>>~) : ('a -> ('b, 'c) Stdlib.result) -> ('b -> ('d, 'c) Stdlib.result) -> 'a -> ('d, 'c) Stdlib.result
val extract_name : tree -> (name, string) Stdlib.result
val extract_ns_name : tree -> (namespace * name, string) Stdlib.result
val extract_name_value : tree -> (attribute list * (namespace * name) * tree list, string) Stdlib.result
val extract_pcdata : tree -> (string, string) Stdlib.result
val extract_attributes : tree -> (attribute list, string) Stdlib.result
val leaf_node : tree -> (tree, string) Stdlib.result
val (|||) : ('a -> ('b, 'c) Stdlib.result) -> ('a -> ('b, 'd) Stdlib.result) -> 'a -> ('b, 'd) Stdlib.result
val is_empty : 'a list -> (unit, string) Stdlib.result
val non_empty : 'a list -> (unit, string) Stdlib.result
val run : ('a -> 'b) -> 'a -> 'b
val exactly_one : 'a list -> ('a, string) Stdlib.result
val href_parser : tree -> (string, string) Stdlib.result
val privilege_children_parser : tree -> ([> `All | `Bind | `Read | `Read_acl | `Read_current_user_privilege_set | `Unbind | `Unlock | `Write | `Write_acl | `Write_content | `Write_properties ], string) Stdlib.result
val privilege_parser : tree -> ([> `All | `Bind | `Read | `Read_acl | `Read_current_user_privilege_set | `Unbind | `Unlock | `Write | `Write_acl | `Write_content | `Write_properties ] list, string) Stdlib.result
val xml_to_ace : tree -> (ace, string) Stdlib.result
val principal_to_xml : [< `All | `Authenticated | `Href of Uri.t | `Self | `Unauthenticated ] -> tree
val priv_to_xml : [< `All | `Bind | `Read | `Read_acl | `Read_current_user_privilege_set | `Unbind | `Unlock | `Write | `Write_acl | `Write_content | `Write_properties ] -> tree
val ace_to_xml : ([< `All | `Authenticated | `Href of Uri.t | `Self | `Unauthenticated ] * [< `Deny of [< `All | `Bind | `Read | `Read_acl | `Read_current_user_privilege_set | `Unbind | `Unlock | `Write | `Write_acl | `Write_content | `Write_properties ] list | `Grant of [< `All | `Bind | `Read | `Read_acl | `Read_current_user_privilege_set | `Unbind | `Unlock | `Write | `Write_acl | `Write_content | `Write_properties ] list | `Inherited of Uri.t ]) -> tree
val propfind_prop_parser : tree -> ([ `All_prop of string list | `Include of string list | `Propname | `Props of fqname list ], string) Stdlib.result
val parse_propfind_xml : tree -> ([> `All_prop of string list | `Propname | `Props of fqname list ], string) Stdlib.result
val find_attribute : Stdlib.String.t -> (('a * Stdlib.String.t) * 'b) list -> 'b option
val take_drop_while : ('a -> 'b option) -> 'a list -> 'b list * 'a list
val comp_parser : tree -> (component, string) Stdlib.result
val range_parser : Stdlib.String.t -> tree -> (timerange, string) Stdlib.result
val limit_recurrence_set_parser : tree -> ([> `Limit_recurrence_set of timerange ], string) Stdlib.result
val expand_parser : tree -> ([> `Expand of timerange ], string) Stdlib.result
val limit_freebusy_set_parser : tree -> ([> `Limit_freebusy_set of timerange ], string) Stdlib.result
val calendar_data_parser : tree -> (calendar_data, string) Stdlib.result
val any_in_ns : Stdlib.String.t -> tree -> (tree, string) Stdlib.result
val extract_and_tag_prop : tree -> ([> `Prop of namespace * name ], string) Stdlib.result
val report_prop_parser : tree -> (report_prop, string) Stdlib.result
val is_not_defined_parser : tree -> ([> `Is_not_defined ], string) Stdlib.result
val text_match_parser : tree -> ([> `Text_match of string * string * bool ], string) Stdlib.result
val param_filter_parser : tree -> ([> param_filter ], string) Stdlib.result
val time_range_parser : tree -> ([> `Timerange of timerange ], string) Stdlib.result
val all_param_filters : [> `Param_filter of string * [ `Is_defined | `Is_not_defined | `Text_match of string * string * bool ] ] list -> (param_filter list, string) Stdlib.result
val prop_filter_parser : tree -> (prop_filter, string) Stdlib.result
val comp_filter_parser : tree -> (component_filter, string) Stdlib.result
val filter_parser : tree -> (component_filter, string) Stdlib.result
val parse_calendar_query_xml : tree -> (calendar_query, string) Stdlib.result
val parse_calendar_multiget_xml : tree -> (calendar_multiget, string) Stdlib.result
val proppatch_prop_parser : (tree -> ('a, 'b) Stdlib.result) -> tree -> ('a list, string) Stdlib.result
val set_parser : tree -> ([> `Set of attribute list * fqname * tree list ] list, string) Stdlib.result
val remove_parser : tree -> ([> `Remove of fqname ] list, string) Stdlib.result
val parse_propupdate_xml : tree -> ([> `Remove of fqname | `Set of attribute list * fqname * tree list ] list, string) Stdlib.result
val parse_mkcol_xml : tree -> ([> `Set of attribute list * fqname * tree list ] list, string) Stdlib.result
val ptime_to_http_date : Ptime.t -> string
val rfc3339_date_to_http_date : string -> string
OCaml

Innovation. Community. Security.