aboutsummaryrefslogtreecommitdiffstats
path: root/doc/bitlbee.xinetd
blob: b01e80058ef757a691c9599908a70d3b090f17dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
## xinetd file for BitlBee. Please check this file before using it, the
## user, port and/or binary location might be wrong.

## This file assumes you have ircd somewhere in your /etc/services, if things
## don't work, check that file first.
service ircd
{
	socket_type     = stream
	protocol        = tcp
	wait            = no
	
	## You most likely want to change these two
	user            = nobody
	server          = /usr/local/sbin/bitlbee -I
	
	## You might want to limit access to localhost only:
	# bind            = 127.0.0.1
	
	## Thanks a lot to friedman@splode.com for telling us about the type
	## argument, so now this file can be used without having to edit
	## /etc/services too.
	type            = UNLISTED
	port            = 6667
}
pan class="cm"> * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define IDENT 1 /* identify function */ #define XOR 2 /* xor with arg1 */ #define MULADD 3 /* multipy by arg1 then add arg2 */ #define LOOKUP 4 /* lookup each byte in the table pointed to by arg1 */ #define BITFLD 5 /* reorder bits according to table pointed to by arg1 */ struct yahoo_fn { int type; long arg1, arg2; }; int yahoo_xfrm( int table, int depth, int seed );