[/trunk] Changeset 127 by mikael
* Add a "hooks" layer.
Hooks are used when multiples operations should be done when an event
araises. For example message in/out, status change...
2 more files; Makefile updated.
* Logging is ready.
* Add 2 options:
- "logging" (bool): enable/disable history logging
- "logging_dir" (char): root dir for logging files
* Document pinginterval (keepalive) in the sample config file.
* Send keepalive only when online.
# Sample ~/.mcabberrc file
# The jid will be the following: username@server/resource
# If password is not given, it will be interactively asked for.
# If port is not given, default Jabber port will be used.
# Use ssl = 1 to enable SSL
username = yourusername
#password = yourpassword
server = your.jabber.server
#port = 5222
resource = yourresource
ssl = 0
# Keepalive
# If you need a ping/keepalive to leave your connection open, you
# can use the pinginterval. Setting this option to 0 disables the ping.
# Default value is 40 seconds.
#pinginterval = 40
pinginterval = 0
# Set hide_offline_buddies to 1 to display only connected buddies
# in the roster.
#hide_offline_buddies = 0
# History logging
# You can save the messages history: set logging = 1
# Default logging directory (logging_dir) is $HOME/.mcabber/
logging = 1
# logging_dir = /home/mikael/.mcabber/
# The colors
# NOTE: the following settings may or may not be used currently... :)
# Colors are: black, red, green, yellow, blue, magenta, cyan, white
color_background = blue
color_backselected = cyan
color_borderlines = white
color_jidonlineselected = black
color_jidonline = green
color_jidofflineselected = red
color_jidoffline = red
color_text = white