]> arthur.barton.de Git - ngircd-alex.git/commit
conn.h: option filed in CONNECTION struct is now UINT16.
authorFlorian Westphal <fw@strlen.de>
Mon, 18 Apr 2005 21:08:31 +0000 (21:08 +0000)
committerFlorian Westphal <fw@strlen.de>
Mon, 18 Apr 2005 21:08:31 +0000 (21:08 +0000)
commitc4bc2114c91a91ba8eac2c70914dff4ec3e2d8cf
treeb9184a7e636dbc712339351a2c399da2f38ddc80
parent129a22a29bb59da08a758b6a29202cc9ef389aef
conn.h: option filed in CONNECTION struct is now UINT16.
conn-func.h: add accessor Macros

Conn_OPTION_ADD( conn, CONN_OPTION )
Conn_OPTION_DEL( conn, CONN_OPTION )
Conn_OPTION_ISSET( conn, CONN_OPTION )

To add, remove or test for a certain option field attribute (e.g. CONN_ISCLOSING)
These Macros should be used instead of accessing conn->options directly.
src/ngircd/conn-func.h
src/ngircd/conn.h