diff options
author | Brian Cully <bjc@kublai.com> | 2012-02-09 14:13:57 -0500 |
---|---|---|
committer | Brian Cully <bjc@kublai.com> | 2012-02-09 14:13:57 -0500 |
commit | 8cd5a7f161743d6b6a995b92b1702909809b8cdc (patch) | |
tree | 5a12ddc4b5f0f5a8d70d126cbdc52451e55bdac9 /c_src/msg.h | |
parent | a5424fc5ebde59b8335e99a062e208a80235977f (diff) | |
download | mysqlerl-8cd5a7f161743d6b6a995b92b1702909809b8cdc.tar.gz mysqlerl-8cd5a7f161743d6b6a995b92b1702909809b8cdc.zip |
Move C code into c_src
Diffstat (limited to 'c_src/msg.h')
-rw-r--r-- | c_src/msg.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/c_src/msg.h b/c_src/msg.h new file mode 100644 index 0000000..6db2aa8 --- /dev/null +++ b/c_src/msg.h @@ -0,0 +1,17 @@ +/* + * Copyright (C) 2008, Brian Cully <bjc@kublai.com> + */ + +#ifndef _MSG_H +#define _MSG_H + +#include <erl_interface.h> +#include <ei.h> +#include <stdlib.h> + +typedef u_int32_t msglen_t; + +ETERM *read_msg(); +int write_msg(ETERM *msg); + +#endif |