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

« back to all changes in this revision

Viewing changes to src/afunix.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:
34
34
  struct afsocket_dest super;
35
35
  struct io_fd *dest;
36
36
  struct abstract_buffer *dest_buf;
 
37
  struct ol_string *template_output;
 
38
  int template_escape;
37
39
  struct syslog_config *cfg;
38
40
};
39
41
extern struct ol_class afunix_dest_class;
49
51
  mark((struct ol_object *) i->cfg);
50
52
}
51
53
 
 
54
static void do_afunix_dest_free(struct ol_object *o)
 
55
{
 
56
  struct afunix_dest *i = (struct afunix_dest *) o;
 
57
  ol_string_free(i->template_output);
 
58
}
 
59
 
52
60
struct ol_class afunix_dest_class =
53
61
{ STATIC_HEADER,
54
62
  &afsocket_dest_class, "afunix_dest", sizeof(struct afunix_dest),
55
63
  do_afunix_dest_mark,
56
 
  NULL
 
64
  do_afunix_dest_free
57
65
};
58
66
#endif /* !CLASS_DECLARE */
59
67