[asterisk-commits] mmichelson: branch mmichelson/res_timing_timerfd r154580 - /team/mmichelson/r...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 5 07:10:49 CST 2008


Author: mmichelson
Date: Wed Nov  5 07:10:49 2008
New Revision: 154580

URL: http://svn.digium.com/view/asterisk?view=rev&rev=154580
Log:
Eek! A skeleton!

Added:
    team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c   (with props)

Added: team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c
URL: http://svn.digium.com/view/asterisk/team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c?view=auto&rev=154580
==============================================================================
--- team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c (added)
+++ team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c Wed Nov  5 07:10:49 2008
@@ -1,0 +1,87 @@
+/*
+ * Asterisk -- An open source telephony toolkit.
+ *
+ * Copyright (C) 2008, Digium, Inc.
+ *
+ * Mark Michelson <mmichelson at digium.com>
+ *
+ * See http://www.asterisk.org for more information about
+ * the Asterisk project. Please do not directly contact
+ * any of the maintainers of this project for assistance;
+ * the project provides a web site, mailing lists and IRC
+ * channels for your use.
+ *
+ * This program is free software, distributed under the terms of
+ * the GNU General Public License Version 2. See the LICENSE file
+ * at the top of the source tree.
+ */
+
+/*! 
+ * \file
+ * \author Mark Michelson <mmichelson at digium.com>
+ *
+ * \brief timerfd timing interface 
+ */
+static void *timing_funcs_handle;
+
+static int timerfd_timer_open(void);
+static void timerfd_timer_close(int handle);
+static int timerfd_timer_set_rate(int handle, unsigned int rate);
+static void timerfd_timer_ack(int handle, unsigned int quantity);
+static int timerfd_timer_enable_continuous(int handle);
+static int timerfd_timer_disable_continuous(int handle);
+static enum ast_timing_event timerfd_timer_get_event(int handle);
+static unsigned int timerfd_timer_get_max_rate(int handle);
+
+static struct ast_timing_functions timerfd_timing_functions = {
+	.timer_open = timerfd_timer_open,
+	.timer_close = timerfd_timer_close,
+	.timer_set_rate = timerfd_timer_set_rate,
+	.timer_ack = timerfd_timer_ack,
+	.timer_enable_continuous = timerfd_timer_enable_continuous,
+	.timer_disable_continuous = timerfd_timer_disable_continuous,
+	.timer_get_event = timerfd_timer_get_event,
+	.timer_get_max_rate = timerfd_timer_get_max_rate,
+};
+
+static int timerfd_timer_open(void)
+{
+}
+
+static void timerfd_timer_close(int handle)
+{
+}
+
+static int timerfd_timer_set_rate(int handle, unsigned int rate)
+{
+}
+
+static void timerfd_timer_ack(int handle, unsigned int quantity)
+{
+}
+
+static int timerfd_timer_enable_continuous(int handle)
+{
+}
+
+static int timerfd_timer_disable_continuous(int handle)
+{
+}
+
+static enum ast_timing_event timerfd_timer_get_event(int handle)
+{
+}
+
+static unsigned int timerfd_timer_get_max_rate(int handle)
+{
+}
+
+static int load_module(void)
+{
+}
+
+static int unload_module(void)
+{
+}
+
+AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Timerfd Timing Interface");

Propchange: team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision

Propchange: team/mmichelson/res_timing_timerfd/res/res_timing_timerfd.c
------------------------------------------------------------------------------
    svn:mime-type = text/plain




More information about the asterisk-commits mailing list