#!/usr/bin/perl -w -T
# +=======================================================================+
# || /usr/sbin/cipux_rpc_list                                            ||
# ||                                                                     ||
# || Prints CipUX RPC command list.                                      ||
# ||                                                                     ||
# || Copyright (C) 2007 - 2009 by Christian Kuelker                      ||
# ||                           All rights reserved!                      ||
# ||                                                                     ||
# || License: GNU General Public License - GNU GPL - version 2           ||
# ||          or (at your opinion) any later version.                    ||
# ||                                                                     ||
# +=======================================================================+
# ID:       $Id$
# Revision: $Revision$
# Head URL: $HeadURL$
# Date:     $Date$
# Source:   $Source$

package cipux_rpc_list;

use 5.008001;
use strict;
use warnings;
use CipUX::RPC::Server::Daemon;

use version; our $VERSION = qv('3.4.0.8');
use re 'taint';    # Keep data captured by parens tainted
delete @ENV{qw(PATH IFS CDPATH ENV BASH_ENV)};    # Make %ENV safe

# +=============================================================================+
# || MAIN                                                                      ||
# +=============================================================================+
my $client = CipUX::RPC::Server::Daemon->new( { name => 'cipux_rpc_list' } );

$client->run();

exit 0;

__END__

#===========================================================================
#==== Documentation ========================================================
#===========================================================================

=pod

=head1 NAME

cipux_rpc_list -  Prints CipUX RPC command list

=head1 VERSION

cipux_rpc_list - version 3.4.0.8

=head1 SYNOPSIS

 cipux_rpc_list

=head1 ABSTRACT

This is the CipUX XML-RPC list for the CipUX::Task API. The list provides CipUX
commands to RPC clients.

=head1 OPTIONS

I<-c>

Same as --cfg

I<--cfg>

Specifies the configuration.

I<-D>

The same as --debug

I<debug>

I<h>

The same as --help

I<help>

I<l>

The same as --list

I<list>

Lists.

I<p>

The same as --pretty

I<pretty>

Pretty output.

I<V>

The same as --version.

I<version>

Prints the version.



=head1 REQUIREMENTS

       CipUX
       CipUX::RPC::Server
       Getopt::Long
       Pod::Usage
       Carp

=head1 DESCRIPTION

 +----------------------------------------+
 | xml rpc command                        |
 +========================================+
 | cipux_task_create_room                 |
 | cipux_task_create_student_account      |
 | cipux_task_create_teacher_account      |
 | cipux_task_destroy_room                |
 | cipux_task_destroy_student_account     |
 | cipux_task_destroy_teacher_account     |
 | cipux_task_list_netgroups              |
 | cipux_task_list_rooms                  |
 | cipux_task_list_student_accounts       |
 | cipux_task_list_teacher_accounts       |
 | cipux_task_optain_room_network_address |
 +----------------------------------------+

=head1 USAGE

  cipux_rpc_list [OPTIONS]

=head1 EXAMPLE

  cipux_rpc_list

  cipux_rpc_list --list

  cipux_rpc_list --debug

=head1 REQUIRED ARGUMENTS

TODO

=head1 DIAGNOSTICS

TODO

=head1 EXIT STATUS

TODO

=head1 CONFIGURATION

TODO

=head1 DEPENDENCIES


 CipUX::RPC::Server::Daemon
 version

=head1 INCOMPATIBILITIES

Not known.

=head1 BUGS AND LIMITATIONS

Supports https only via stunnel4.

=head1 SEE ALSO

See the CipUX webpage and the manual at L<http://www.cipux.org>
See the mailing list L<http://sympa.cipworx.org/wws/info/cipux-devel>

=head1 AUTHOR

Christian Kuelker  E<lt>christian.kuelker@cipworx.orgE<gt>

=head1 LICENSE AND COPYRIGHT

Copyright (C) 2007 - 2009 by Christian Kuelker

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2, or (at
your option) any later version.

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

=cut
