File: oop-www.h

package info (click to toggle)
liboop 1.0.1-2
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 2,108 kB
  • sloc: sh: 11,098; ansic: 2,533; makefile: 133
file content (28 lines) | stat: -rw-r--r-- 880 bytes parent folder | download | duplicates (16)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* oop-www.h, liboop, copyright 1999 Dan Egnor

   This is free software; you can redistribute it and/or modify it under the
   terms of the GNU Lesser General Public License, version 2.1 or later.
   See the file COPYING for details. */

#ifndef OOP_WWW_H
#define OOP_WWW_H

#ifndef HTEVENT_H
#error You must include "HTEvent.h" before "oop-www.h"!
#endif

#include "oop.h"

/* Register an event manager with libwww to get events from a liboop source. 
   Because libwww's event loop is global, so is ours. */
void oop_www_register(oop_source *);

/* Release any resources associated with the event manager, and
   unregister it with libwww.  This will leave libwww with no event manager. */
void oop_www_cancel(void);

/* Use libwww's memory management for liboop.
   ** If you use this, you must do so before any other liboop function! ** */
void oop_www_memory(void);

#endif