diff options
author | rsc <devnull@localhost> | 2005-01-04 21:18:08 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2005-01-04 21:18:08 +0000 |
commit | 1a0954abb80f92cd9940a21f11dd8f3a84518579 (patch) | |
tree | 44f2c6af204a0143f6d062b256008b372456f1d0 /include/mux.h | |
parent | 66ed321edf44a9465d011a3e54d60a6c32fc166f (diff) | |
download | plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.tar.gz plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.tar.bz2 plan9port-1a0954abb80f92cd9940a21f11dd8f3a84518579.zip |
autolib
Diffstat (limited to 'include/mux.h')
-rw-r--r-- | include/mux.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/mux.h b/include/mux.h index b8d242c8..01d1779c 100644 --- a/include/mux.h +++ b/include/mux.h @@ -1,3 +1,11 @@ +#ifndef _MUX_H_ +#define _MUX_H_ 1 +#if defined(__cplusplus) +extern "C" { +#endif + +AUTOLIB(mux) + typedef struct Mux Mux; typedef struct Muxrpc Muxrpc; typedef struct Muxqueue Muxqueue; @@ -52,3 +60,7 @@ void *_muxqrecv(Muxqueue*); void _muxqhangup(Muxqueue*); void *_muxnbqrecv(Muxqueue*); +#if defined(__cplusplus) +} +#endif +#endif |