meta.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. #ifndef TINC_META_H
  2. #define TINC_META_H
  3. /*
  4. meta.h -- header for meta.c
  5. Copyright (C) 2000-2006 Guus Sliepen <guus@tinc-vpn.org>,
  6. 2000-2005 Ivo Timmermans
  7. This program is free software; you can redistribute it and/or modify
  8. it under the terms of the GNU General Public License as published by
  9. the Free Software Foundation; either version 2 of the License, or
  10. (at your option) any later version.
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. GNU General Public License for more details.
  15. You should have received a copy of the GNU General Public License along
  16. with this program; if not, write to the Free Software Foundation, Inc.,
  17. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  18. */
  19. #include "connection.h"
  20. extern bool send_meta(struct connection_t *c, const char *buffer, int length);
  21. extern void broadcast_meta(struct connection_t *c, const char *buffer, int length);
  22. extern bool flush_meta(struct connection_t *c);
  23. extern bool receive_meta(struct connection_t *c);
  24. #endif