Skip to content

Commit

Permalink
Add GPLv2 license
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Rybkin committed Jan 12, 2015
1 parent e688d65 commit a8ecf65
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 2 deletions.
26 changes: 24 additions & 2 deletions modules/usrloc_dmq/usrloc_dmq.c
@@ -1,3 +1,25 @@
/*
* Copyright (C) 2014 Andrey Rybkin <rybkin.a@bks.tv>
*
* This file is part of Kamailio, a free SIP server.
*
* This file 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 file 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/

#include <stdio.h>
#include "../../sr_module.h"
#include "../../dprint.h"
Expand Down Expand Up @@ -76,11 +98,11 @@ static int child_init(int rank)
{

if (rank == PROC_MAIN) {
LM_ERR("child_init PROC_MAIN\n");
LM_DBG("child_init PROC_MAIN\n");
return 0;
}
if(rank == PROC_INIT || rank == PROC_TCP_MAIN) {
LM_ERR("child_init PROC_INIT\n");
LM_DBG("child_init PROC_INIT\n");
return 0;
}
return 0;
Expand Down
22 changes: 22 additions & 0 deletions modules/usrloc_dmq/usrloc_sync.c
@@ -1,3 +1,25 @@
/*
* Copyright (C) 2014 Andrey Rybkin <rybkin.a@bks.tv>
*
* This file is part of Kamailio, a free SIP server.
*
* This file 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 file 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/

#include "usrloc_sync.h"
#include "../usrloc/usrloc.h"
#include "../usrloc/ul_callback.h"
Expand Down
22 changes: 22 additions & 0 deletions modules/usrloc_dmq/usrloc_sync.h
@@ -1,3 +1,25 @@
/*
* Copyright (C) 2014 Andrey Rybkin <rybkin.a@bks.tv>
*
* This file is part of Kamailio, a free SIP server.
*
* This file 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 file 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*
*/

#ifndef _DMQ_SYNC_USRLOC_H_
#define _DMQ_SYNC_USRLOC_H_

Expand Down

0 comments on commit a8ecf65

Please sign in to comment.