5327cc8b957b6dcd85d9d54a855e95353e3b365b
[tpg/acess2.git] / Modules / Interfaces / UDI / buf.c
1 /**
2  * \file buf.c
3  * \author John Hodge (thePowersGang)
4  * 
5  * Buffer Manipulation
6  */
7 #include <acess.h>
8 #include <udi.h>
9
10 // === EXPORTS ===
11 EXPORT(udi_buf_copy);
12 EXPORT(udi_buf_write);
13 EXPORT(udi_buf_read);
14 EXPORT(udi_buf_free);
15
16 // === CODE ===
17 void udi_buf_copy(
18         udi_buf_copy_call_t *callback,
19         udi_cb_t        *gcb,
20         udi_buf_t       *src_buf,
21         udi_size_t      src_off,
22         udi_size_t      src_len,
23         udi_buf_t       *dst_buf,
24         udi_size_t      dst_off,
25         udi_size_t      dst_len,
26         udi_buf_path_t path_handle
27         )
28 {
29         UNIMPLEMENTED();
30 }
31
32 /**
33  * \brief Write to a buffer
34  * \param callback      Function to call once the write has completed
35  * \param gcb   Control Block
36  * \param src_mem       Source Data
37  * \param src_len       Length of source data
38  * \param dst_buf       Destination buffer
39  * \param dst_off       Destination offset in the buffer
40  * \param dst_len       Length of destination area (What the?, Redundant
41  *                      Department of redundacny department)
42  * \param path_handle   ???
43  */
44 void udi_buf_write(
45         udi_buf_write_call_t *callback,
46         udi_cb_t        *gcb,
47         const void      *src_mem,
48         udi_size_t      src_len,
49         udi_buf_t       *dst_buf,
50         udi_size_t      dst_off,
51         udi_size_t      dst_len,
52         udi_buf_path_t path_handle
53         )
54 {
55         UNIMPLEMENTED();
56 }
57
58 void udi_buf_read(
59         udi_buf_t       *src_buf,
60         udi_size_t      src_off,
61         udi_size_t      src_len,
62         void    *dst_mem )
63 {
64         UNIMPLEMENTED();
65 }
66
67 void udi_buf_free(udi_buf_t *buf)
68 {
69         UNIMPLEMENTED();
70 }

UCC git Repository :: git.ucc.asn.au