~ubuntu-branches/ubuntu/gutsy/syslog-ng/gutsy-security

« back to all changes in this revision

Viewing changes to src/afinet.c.x

  • Committer: Bazaar Package Importer
  • Author(s): Magosányi Árpád (mag)
  • Date: 2004-03-13 18:35:37 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040313183537-g0fsc2j2y1wbxage
Tags: 1.6.2-3
* changed manpage to better reflect -v. Closes: #228377
* fixed build-depends, hopefully correctly now:( Closes: #237668

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
  struct abstract_buffer *dest_buf;
34
34
  UINT32 sync_freq;
35
35
  struct connect_fd *conn_fd;
 
36
  struct ol_string *template_output;
 
37
  int template_escape;
36
38
  struct syslog_config *cfg;
37
39
};
38
40
extern struct ol_class afinet_dest_class;
49
51
  mark((struct ol_object *) i->cfg);
50
52
}
51
53
 
 
54
static void do_afinet_dest_free(struct ol_object *o)
 
55
{
 
56
  struct afinet_dest *i = (struct afinet_dest *) o;
 
57
  ol_string_free(i->template_output);
 
58
}
 
59
 
52
60
struct ol_class afinet_dest_class =
53
61
{ STATIC_HEADER,
54
62
  &afsocket_dest_class, "afinet_dest", sizeof(struct afinet_dest),
55
63
  do_afinet_dest_mark,
56
 
  NULL
 
64
  do_afinet_dest_free
57
65
};
58
66
#endif /* !CLASS_DECLARE */
59
67