version 1.1.1.2, 2006/10/04 21:04:33 |
version 1.1.1.3, 2006/10/04 21:05:27 |
|
|
|
|
|
|
my # MakeMaker |
my # MakeMaker |
$VERSION = '0.0.5'; |
$VERSION = '0.0.6'; |
my $RESOURCE = 'sendxmpp'; |
my $RESOURCE = 'sendxmpp'; |
my $VERBOSE = 0; |
my $VERBOSE = 0; |
my $DEBUG = 0; |
my $DEBUG = 0; |
Line 204 sub parse_cmdline () { |
|
Line 204 sub parse_cmdline () { |
|
|
|
|
|
# |
# |
# xmpp_login: login to the xmmp (jabber) server |
# xmpp_login: login to the xmpp (jabber) server |
# input: hostname,username,password,resource,tls,debug |
# input: hostname,username,password,resource,tls,debug |
# output: an XMPP connection object |
# output: an XMPP connection object |
# |
# |
Line 233 sub xmpp_login ($$$$$$) { |
|
Line 233 sub xmpp_login ($$$$$$) { |
|
|
|
|
|
# |
# |
# xmmp_send_message: send a message to some xmmp user |
# xmpp_send_message: send a message to some xmpp user |
# input: connection,recipient,subject,msg |
# input: connection,recipient,subject,msg |
# |
# |
sub xmpp_send_message ($$$$) { |
sub xmpp_send_message ($$$$) { |
Line 279 sub xmpp_send_chatroom_message ($$$$$) { |
|
Line 279 sub xmpp_send_chatroom_message ($$$$$) { |
|
|
|
|
|
# |
# |
# xmmp_logout: log out from the xmpp server |
# xmpp_logout: log out from the xmpp server |
# input: connection |
# input: connection |
# |
# |
sub xmpp_logout($) { |
sub xmpp_logout($) { |
Line 422 show debugging info while running. B<WAR |
|
Line 422 show debugging info while running. B<WAR |
|
=head1 CONFIGURATION FILE |
=head1 CONFIGURATION FILE |
|
|
You may define a '~/.sendxmpprc' file with the necessary data for your |
You may define a '~/.sendxmpprc' file with the necessary data for your |
xmmp-account, with a line of the format: |
xmpp-account, with a line of the format: |
|
|
<user>@<host> <password> |
<user>@<host> <password> |
|
|
Line 450 Documentation for the L<Net::XMPP> modul |
|
Line 450 Documentation for the L<Net::XMPP> modul |
|
|
|
The jabber homepage: http://www.jabber.org/ |
The jabber homepage: http://www.jabber.org/ |
|
|
The sendxmpp homepage: http://www.djcbsoftware.nl/code/sendxmmp (the xmmp homepage) |
The sendxmpp homepage: http://www.djcbsoftware.nl/code/sendxmpp (the xmpp homepage) |
|
|
=head1 AUTHOR |
=head1 AUTHOR |
|
|
Line 459 the L<Net::XMPP> modules written by Ryan |
|
Line 459 the L<Net::XMPP> modules written by Ryan |
|
|
|
=cut |
=cut |
|
|
|
|
|
|
|
|