Skip to content

Commit

Permalink
qos: converted to the new module interface
Browse files Browse the repository at this point in the history
  • Loading branch information
mslehto authored and linuxmaniac committed Sep 28, 2018
1 parent 6ad118a commit 845a66f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 28 deletions.
23 changes: 1 addition & 22 deletions src/modules/qos/Makefile
Original file line number Diff line number Diff line change
@@ -1,32 +1,11 @@
#
# WARNING: do not run this directly, it should be run by the master Makefile
#
# Copyright (C) 2006 SOMA Networks, Inc.
# Written by: Ovidiu Sas
#
# This file is part of Kamailio, a free SIP server.
#
# Kamailio 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
#
# Kamailio 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 ../../Makefile.defs
auto_gen=
NAME=qos.so

DEFS+=-DKAMAILIO_MOD_INTERFACE
DEFS+=

include ../../Makefile.modules
10 changes: 4 additions & 6 deletions src/modules/qos/qos.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,12 @@ struct module_exports exports= {
DEFAULT_DLFLAGS, /* dlopen flags */
cmds, /* exported functions */
mod_params, /* param exports */
0, /* exported statistics */
0, /* exported MI functions */
0, /* exported RPC functions */
0, /* exported pseudo-variables */
0, /* extra processes */
mod_init, /* module initialization function */
0, /* reply processing function */
mod_destroy, /* Destroy function */
0 /* per-child init function */
mod_init, /* module initialization function */
0, /* per-child init function */
mod_destroy /* module destroy function */
};

int load_qos( struct qos_binds *qosb)
Expand Down

0 comments on commit 845a66f

Please sign in to comment.