Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joshua Root
libaacs
Commits
696dcd4f
Commit
696dcd4f
authored
Jun 26, 2010
by
npzacs
Browse files
Hide implementation details
parent
add2ac38
Changes
2
Hide whitespace changes
Inline
Side-by-side
libaacs/src/libaacs/mkb.c
View file @
696dcd4f
...
@@ -24,6 +24,11 @@
...
@@ -24,6 +24,11 @@
#include <stdio.h>
#include <stdio.h>
struct
mkb
{
size_t
size
;
// file size
uint8_t
*
buf
;
// file contents
};
uint8_t
*
_record
(
MKB
*
mkb
,
uint8_t
type
,
size_t
*
rec_len
)
uint8_t
*
_record
(
MKB
*
mkb
,
uint8_t
type
,
size_t
*
rec_len
)
{
{
size_t
pos
=
0
,
len
=
0
;
size_t
pos
=
0
,
len
=
0
;
...
...
libaacs/src/libaacs/mkb.h
View file @
696dcd4f
...
@@ -24,10 +24,6 @@
...
@@ -24,10 +24,6 @@
#include <stdint.h>
#include <stdint.h>
typedef
struct
mkb
MKB
;
typedef
struct
mkb
MKB
;
struct
mkb
{
size_t
size
;
// file size
uint8_t
*
buf
;
// file contents
};
MKB
*
mkb_open
(
const
char
*
path
);
// init MKB
MKB
*
mkb_open
(
const
char
*
path
);
// init MKB
void
mkb_close
(
MKB
*
mkb
);
// free MKB
void
mkb_close
(
MKB
*
mkb
);
// free MKB
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment