Revision e816f3de output-chunkstream.c

View differences:

output-chunkstream.c
22 22
#endif
23 23

  
24 24
#include <chunk.h>
25
#include <chunkiser.h>
25 26
#include <trade_msg_la.h>
26 27

  
27
#include "output.h"
28 28
#include "measures.h"
29 29
#include "dbg.h"
30 30

  
......
104 104
  }
105 105
}
106 106

  
107
void output_init(int bufsize, const char *fn)
107
struct output_stream *out_stream_init(const char *fn, const char *config)
108 108
{
109 109
  if (fn) fname = strdup(fn);
110 110
  output_connect();
111
  return 1;	//TODO: create real output_stream structure
111 112
}
112 113

  
113
void output_deliver(const struct chunk *c)
114
void chunk_write(struct output_stream *out, const struct chunk *c)
114 115
{
115 116
  static char sendbuf[BUFSIZE];
116 117
  static int pos = 0;

Also available in: Unified diff