package sonet

  1. Overview
  2. Docs
type error =
  1. | Unknown_request_name_reply of int
  2. | Unknown_release_name_reply of int
  3. | Unknown_service_start_reply of int
exception Message_error of error
val make_peer_ping_msg : destination:string -> serial:int64 -> Dbus_message.t
val make_peer_get_machine_id_msg : destination:string -> serial:int64 -> Dbus_message.t
val make_introspect_msg : destination:string -> serial:int64 -> Dbus_message.t
val make_property_get_msg : destination:string -> serial:int64 -> interface:string -> property:string -> Dbus_message.t
val make_property_set_msg : destination:string -> serial:int64 -> interface:string -> property:string -> val_type:Dbus_type.t -> value:Dbus_value.t -> Dbus_message.t
val make_property_getall_msg : destination:string -> serial:int64 -> interface:string -> Dbus_message.t
type name_flag =
  1. | Name_allow_replacement
  2. | Name_do_not_queue
  3. | Name_replace_existing
type request_name_reply =
  1. | Name_reply_primary_owner
  2. | Name_reply_in_queue
  3. | Name_exists
  4. | Name_already_owner
val make_request_name_msg : serial:int64 -> name:string -> flags:name_flag list -> Dbus_message.t
val request_name_reply_of_int : int -> request_name_reply
type release_name_reply =
  1. | Release_name_reply_released
  2. | Release_name_reply_non_existent
  3. | Release_name_reply_not_owner
val make_release_name_msg : serial:int64 -> name:string -> Dbus_message.t
val release_name_reply_of_int : int -> release_name_reply
val make_hello_msg : serial:int64 -> Dbus_message.t
val make_list_names_msg : serial:int64 -> Dbus_message.t
val make_list_activatable_names_msg : serial:int64 -> Dbus_message.t
val make_name_has_owner_msg : serial:int64 -> name:string -> Dbus_message.t
type service_start_reply =
  1. | Service_start_reply_success
  2. | Service_start_reply_already_running
val make_start_service_by_name_msg : serial:int64 -> name:string -> Dbus_message.t
val service_start_reply_of_int : int -> service_start_reply
val make_get_name_owner_msg : serial:int64 -> name:string -> Dbus_message.t
val make_get_connection_unix_user_msg : serial:int64 -> connection_name:string -> Dbus_message.t
val make_add_match_msg : serial:int64 -> filter:string -> Dbus_message.t
val make_remove_match_msg : serial:int64 -> filter:string -> Dbus_message.t
val make_get_id_msg : serial:int64 -> Dbus_message.t
OCaml

Innovation. Community. Security.