~ubuntu-branches/debian/experimental/sks/experimental

« back to all changes in this revision

Viewing changes to cMarshal.mli

  • Committer: Package Import Robot
  • Author(s): Daniel Kahn Gillmor
  • Date: 2013-06-27 16:39:02 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20130627163902-qqic4va2187boeji
Tags: 1.1.4-1
* New Upstream Release (Closes: #690135)
* added myself to Uploaders.
* convert to dh 9
* Standards-Version: bump to 3.9.4 (no changes needed)
* debian/rules: clean up
* refresh and clean up debian/patches
* switch packaging vcs to git
* avoid trying to upgrade DB_CONFIG (Closes: #709322)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
val marshal_string :
 
2
  < upcast : #Channel.out_channel_obj; write_byte : int -> unit;
 
3
    write_char : char -> unit; write_float : float -> unit;
 
4
    write_int : int -> unit; write_int32 : int32 -> unit;
 
5
    write_int64 : int64 -> unit; write_string : string -> unit;
 
6
    write_string_pos : buf:string -> pos:int -> len:int -> unit; .. > ->
 
7
  string -> unit
 
8
val unmarshal_string : < read_int : 'a; read_string : 'a -> 'b; .. > -> 'b
 
9
val marshal_list :
 
10
  f:((< write_int : int -> 'b; .. > as 'a) -> 'c -> unit) ->
 
11
  'a -> 'c list -> unit
 
12
val unmarshal_list :
 
13
  f:((< read_int : int; .. > as 'a) -> 'b) -> 'a -> 'b list
 
14
val marshal_lstring : < write_string : 'a -> 'b; .. > -> 'a -> 'b
 
15
val unmarshal_lstring : 'a -> < read_string : 'a -> 'b; .. > -> 'b
 
16
val marshal_array :
 
17
  f:((< write_int : int -> 'b; .. > as 'a) -> 'c -> unit) ->
 
18
  'a -> 'c array -> unit
 
19
val unmarshal_array :
 
20
  f:((< read_int : int; .. > as 'a) -> 'b) -> 'a -> 'b array
 
21
val marshal_bitstring :
 
22
  < upcast : #Channel.out_channel_obj; write_byte : int -> unit;
 
23
    write_char : char -> unit; write_float : float -> unit;
 
24
    write_int : int -> unit; write_int32 : int32 -> unit;
 
25
    write_int64 : int64 -> unit; write_string : string -> unit;
 
26
    write_string_pos : buf:string -> pos:int -> len:int -> unit; .. > ->
 
27
  Bitstring.t -> unit
 
28
val unmarshal_bitstring :
 
29
  < read_int : int; read_string : int -> string; .. > -> Bitstring.t
 
30
val marshal_fixed_sarray :
 
31
  < write_int : int -> 'a; write_string : string -> unit; .. > ->
 
32
  string array -> unit
 
33
val unmarshal_fixed_sarray :
 
34
  < read_int : int; read_string : int -> 'a; .. > -> 'b -> 'a array
 
35
val marshal_set :
 
36
  f:((< write_int : int -> 'b; .. > as 'a) -> ZZp.zz -> unit) ->
 
37
  'a -> ZZp.Set.t -> unit
 
38
val unmarshal_set :
 
39
  f:((< read_int : int; .. > as 'a) -> ZZp.zz) -> 'a -> ZZp.Set.t
 
40
val marshal_sockaddr :
 
41
  < upcast : #Channel.out_channel_obj; write_byte : int -> unit;
 
42
    write_char : char -> unit; write_float : float -> unit;
 
43
    write_int : int -> unit; write_int32 : int32 -> unit;
 
44
    write_int64 : int64 -> unit; write_string : string -> unit;
 
45
    write_string_pos : buf:string -> pos:int -> len:int -> unit; .. > ->
 
46
  Unix.sockaddr -> unit
 
47
val unmarshal_sockaddr :
 
48
  < read_byte : int; read_int : int; read_string : int -> string; .. > ->
 
49
  Unix.sockaddr
 
50
val marshal_to_string :
 
51
  f:(Channel.buffer_out_channel -> 'a -> 'b) -> 'a -> string
 
52
val unmarshal_from_string :
 
53
  f:(Channel.string_in_channel -> 'a) -> string -> 'a
 
54
val int_to_string : int -> string
 
55
val int_of_string : string -> int