* applied copyright patch 2.

SVN Revision: 1112
This commit is contained in:
Mickaël Rémond 2007-12-24 12:58:05 +00:00
parent 281d2ca3d3
commit cd82cadd10
26 changed files with 572 additions and 95 deletions

View File

@ -1,12 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_echo.erl %%% File : mod_echo.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : %%% Purpose : Simple ejabberd module.
%%% Created : 15 Jan 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 15 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_echo). -module(mod_echo).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_server). -behaviour(gen_server).
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_last.erl %%% File : mod_last.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : jabber:iq:last support (JEP-0012) %%% Purpose : jabber:iq:last support (JEP-0012)
%%% Created : 24 Oct 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 24 Oct 2003 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_last). -module(mod_last).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_last_odbc.erl %%% File : mod_last_odbc.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : jabber:iq:last support (JEP-0012) %%% Purpose : jabber:iq:last support (JEP-0012)
%%% Created : 24 Oct 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 24 Oct 2003 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_last_odbc). -module(mod_last_odbc).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -3,6 +3,25 @@
%%% Author : Alexey Shchepin <alexey@process-one.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Store and manage offline messages in Mnesia database. %%% Purpose : Store and manage offline messages in Mnesia database.
%%% Created : 5 Jan 2003 by Alexey Shchepin <alexey@process-one.net> %%% Created : 5 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_offline). -module(mod_offline).

View File

@ -3,6 +3,25 @@
%%% Author : Alexey Shchepin <alexey@process-one.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Store and manage offline messages in relational database. %%% Purpose : Store and manage offline messages in relational database.
%%% Created : 5 Jan 2003 by Alexey Shchepin <alexey@process-one.net> %%% Created : 5 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_offline_odbc). -module(mod_offline_odbc).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_privacy.erl %%% File : mod_privacy.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : jabber:iq:privacy support %%% Purpose : jabber:iq:privacy support
%%% Created : 21 Jul 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 21 Jul 2003 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_privacy). -module(mod_privacy).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_privacy_odbc.erl %%% File : mod_privacy_odbc.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : jabber:iq:privacy support %%% Purpose : jabber:iq:privacy support
%%% Created : 5 Oct 2006 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 5 Oct 2006 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_privacy_odbc). -module(mod_privacy_odbc).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_private.erl %%% File : mod_private.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : %%% Purpose : Support for private storage.
%%% Created : 16 Jan 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 16 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_private). -module(mod_private).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_private_odbc.erl %%% File : mod_private_odbc.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Private storage support %%% Purpose : Private storage support
%%% Created : 5 Oct 2006 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 5 Oct 2006 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_private_odbc). -module(mod_private_odbc).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_register.erl %%% File : mod_register.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Inband registration support %%% Purpose : Inband registration support
%%% Created : 8 Dec 2002 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 8 Dec 2002 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_register). -module(mod_register).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,12 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_roster.erl %%% File : mod_roster.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Roster management %%% Purpose : Roster management
%%% Created : 11 Dec 2002 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 11 Dec 2002 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_roster). -module(mod_roster).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,12 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_roster_odbc.erl %%% File : mod_roster_odbc.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Roster management %%% Purpose : Roster management
%%% Created : 15 Dec 2004 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 15 Dec 2004 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_roster_odbc). -module(mod_roster_odbc).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_service_log.erl %%% File : mod_service_log.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Copy user messages to logger service %%% Purpose : Copy user messages to logger service
%%% Created : 24 Aug 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 24 Aug 2003 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_service_log). -module(mod_service_log).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_shared_roster.erl %%% File : mod_shared_roster.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Shared roster management %%% Purpose : Shared roster management
%%% Created : 5 Mar 2005 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 5 Mar 2005 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_shared_roster). -module(mod_shared_roster).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_stats.erl %%% File : mod_stats.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : %%% Purpose : Basic statistics.
%%% Created : 11 Jan 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 11 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_stats). -module(mod_stats).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_time.erl %%% File : mod_time.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : %%% Purpose :
%%% Created : 18 Jan 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 18 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_time). -module(mod_time).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,12 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_vcard.erl %%% File : mod_vcard.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : %%% Purpose : Vcard management in Mnesia
%%% Created : 2 Jan 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 2 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_vcard). -module(mod_vcard).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,12 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_vcard_ldap.erl %%% File : mod_vcard_ldap.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Support for VCards from LDAP storage. %%% Purpose : Support for VCards from LDAP storage.
%%% Created : 2 Jan 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 2 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_vcard_ldap). -module(mod_vcard_ldap).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_server). -behaviour(gen_server).
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,12 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_vcard.erl %%% File : mod_vcard.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : vCard support via ODBC %%% Purpose : vCard support via ODBC
%%% Created : 2 Jan 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 2 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_vcard_odbc). -module(mod_vcard_odbc).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,12 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : mod_version.erl %%% File : mod_version.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : XEP-0092: Software Version %%% Purpose : XEP-0092: Software Version
%%% Created : 18 Jan 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 18 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(mod_version). -module(mod_version).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-behaviour(gen_mod). -behaviour(gen_mod).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : randoms.erl %%% File : randoms.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : %%% Purpose : Random generation number wrapper
%%% Created : 13 Dec 2002 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 13 Dec 2002 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(randoms). -module(randoms).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-export([get_string/0]). -export([get_string/0]).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : sha.erl %%% File : sha.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : %%% Purpose :
%%% Created : 20 Dec 2002 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 20 Dec 2002 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(sha). -module(sha).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-export([start/0, sha/1]). -export([start/0, sha/1]).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : shaper.erl %%% File : shaper.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Functions to control connections traffic %%% Purpose : Functions to control connections traffic
%%% Created : 9 Feb 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 9 Feb 2003 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(shaper). -module(shaper).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-export([new/1, new1/1, update/2]). -export([new/1, new1/1, update/2]).

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : translate.erl %%% File : translate.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : %%% Purpose : Localization helper
%%% Created : 6 Jan 2003 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 6 Jan 2003 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(translate). -module(translate).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-export([start/0, -export([start/0,
load_dir/1, load_dir/1,

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : xml.erl %%% File : xml.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : XML utils %%% Purpose : XML utils
%%% Created : 20 Nov 2002 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 20 Nov 2002 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(xml). -module(xml).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-export([element_to_string/1, -export([element_to_string/1,
crypt/1, make_text_node/1, crypt/1, make_text_node/1,

View File

@ -1,13 +1,31 @@
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
%%% File : xml_stream.erl %%% File : xml_stream.erl
%%% Author : Alexey Shchepin <alexey@sevcom.net> %%% Author : Alexey Shchepin <alexey@process-one.net>
%%% Purpose : Parse XML streams %%% Purpose : Parse XML streams
%%% Created : 17 Nov 2002 by Alexey Shchepin <alexey@sevcom.net> %%% Created : 17 Nov 2002 by Alexey Shchepin <alexey@process-one.net>
%%% Id : $Id$ %%%
%%%
%%% ejabberd, Copyright (C) 2002-2007 Process-one
%%%
%%% 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 of the
%%% License, 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
%%%
%%%---------------------------------------------------------------------- %%%----------------------------------------------------------------------
-module(xml_stream). -module(xml_stream).
-author('alexey@sevcom.net'). -author('alexey@process-one.net').
-export([new/1, -export([new/1,
new/2, new/2,