aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/bos.h
blob: a8cabf8b156c2c58785618b2514984c008a9f018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef __OSCAR_BOS_H__
#define __OSCAR_BOS_H__

#define AIM_CB_FAM_BOS 0x0009

/*
 * SNAC Family: Misc BOS Services.
 */
#define AIM_CB_BOS_ERROR 0x0001
#define AIM_CB_BOS_RIGHTSQUERY 0x0002
#define AIM_CB_BOS_RIGHTS 0x0003
#define AIM_CB_BOS_DEFAULT 0xffff

#endif /* __OSCAR_BOS_H__ */
nt-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
## LDAP Schema file for BitlBee
## Copyright (C) 2006 Jelmer Vernooij <jelmer@samba.org>
##
## We need the following object classes and related attributes:
##
## bitlBeeBuddy:
##  - nick
##  - handle

## each bitlBeeNick has zero or more bitlBeeAccount subentries
## and bitlBeeAccount entries contain zero or more bitlBeeBuddy entries

## The admin needs to setup the LDAP server to:
## - allow anonymous users to auth against bitlBeeNick objects on the 
##   password field
## - allow anonymous users to create new objects that start with nick=
## - allow read/write for a user that is authenticated only to his/her own 
##   object and subentries

##  - userid 
##  - userPassword
##  - setting (multiple values)
##  depends: top, account

attributetype ( 1.3.6.1.4.1.25873.2.1.1 NAME 'bitlBeeAutoConnect'
	DESC 'Autoconnect setting'
	EQUALITY booleanMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.7 SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.25873.2.1.2 NAME 'bitlBeeAccountNo'
	DESC 'Account number'
	EQUALITY integerMatch
	SYNTAX 1.3.6.1.4.1.1466.115.121.1.27 SINGLE-VALUE )

objectclass ( 1.3.6.1.4.1.25873.2.2.3 NAME 'bitlBeeAccount' SUP account STRUCTURAL
	DESC 'BitlBee User Account '
	MUST ( userid, userPassword )
	MAY ( ) )

## bitlBeeAccount:
##  - accountNo 1.3.6.1.4.1.1466.115.121.1.27
##  - protocol (msn, oscar, jabber, yahoo, ...)
##  - username
##  - password
##  - server name
##  - autoconnect (true/false) 1.3.6.1.4.1.1466.115.121.1.7
##  depends: top

objectclass ( 1.3.6.1.4.1.25873.2.2.1 NAME 'bitlBeeIMAccount' SUP account STRUCTURAL
	DESC 'BitlBee IM Account '
	MUST ( bitlBeeAccountNo, userid, userPassword )
	MAY ( host, bitlBeeAutoconnect ) )

objectclass ( 1.3.6.1.4.1.25873.2.2.2 NAME 'bitlBeeSetting' SUP top STRUCTURAL
	DESC 'BitlBee Configuration Setting'
	MUST ( bitlBeeSettingName )
	MAY ( bitlBeeSettingValue ) )

objectclass ( 1.3.6.1.4.1.25873.2.2.3 NAME 'bitlBeeBuddy' SUP top STRUCTURAL
	DESC 'BitlBee Nick Mapping'
	MUST ( bitlBeeBuddyHandle )
	MAY ( ircNick ) )