Commit e1eec198 authored by Sven Robertz's avatar Sven Robertz
Browse files

added param values to encoder_new

parent dd700110
...@@ -11,7 +11,7 @@ int main(int argc, char *argv[]) { ...@@ -11,7 +11,7 @@ int main(int argc, char *argv[]) {
int i, j; int i, j;
fd = open("example.encoded", O_WRONLY|O_CREAT|O_TRUNC, 0644); fd = open("example.encoded", O_WRONLY|O_CREAT|O_TRUNC, 0644);
encoder = labcomm_encoder_new(labcomm_fd_writer, &fd); encoder = labcomm_encoder_new(labcomm_fd_writer, &fd, NULL, NULL);
labcomm_encoder_register_example_log_message(encoder); labcomm_encoder_register_example_log_message(encoder);
labcomm_encoder_register_example_data(encoder); labcomm_encoder_register_example_data(encoder);
for (i = 0 ; i < argc ; i++) { for (i = 0 ; i < argc ; i++) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment