Code

new package module and some function moves
[gosa.git] / gosa-si / modules / ServerPackages.pm
1 package ServerPackages;
3 use Exporter;
4 @ISA = ("Exporter");
6 # Each module has to have a function 'process_incoming_msg'. This function works as a interface to gosa-sd and receives the msg hash from gosa-sd. 'process_incoming_function checks, wether it has a function to process the incoming msg and forward the msg to it. 
8 use strict;
9 use warnings;
10 use GOSA::GosaSupportDaemon;
12 #use IO::Socket::INET;
13 #use XML::Simple;
14 #use Data::Dumper;
15 #use NetAddr::IP;
16 #use Net::LDAP;
17 #use Socket;
18 #use Net::hostent;
20 my $event_dir = "/usr/lib/gosa-si/server/events";
21 use lib "/usr/lib/gosa-si/server/events";
23 BEGIN{}
24 END {}
27 ### START #####################################################################
29 # read configfile and import variables
30 #&read_configfile();
32 sub get_module_info {
33     my @info = ($server_address,
34                 $SIPackages_key,
35                 );
36     return \@info;
37 }
40 1;