[asterisk-commits] dlee: branch dlee/playback-rebase r388812 - in /team/dlee/playback-rebase: ./...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed May 15 08:43:45 CDT 2013


Author: dlee
Date: Wed May 15 08:43:37 2013
New Revision: 388812

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=388812
Log:
Recorded merge of revisions 388729 from http://svn.asterisk.org/svn/asterisk/trunk

........
Break res_stasis into smaller files.

When implementing playback for stasis-http, the monolithicedness of
res_stasis really started to get in my way.

This patch breaks the major components of res_stasis.c into individual
files.

 * res/stasis/app.c - Stasis application tracking
 * res/stasis/control.c - Channel control objects
 * res/stasis/command.c - Channel command object

This refactoring also allows res_stasis applications to be loaded as
independent modules, such as the new res_stasis_answer module.

The bulk of this patch is simply moving code from one file to another,
adjusting names and adding accessors as necessary.

Review: https://reviewboard.asterisk.org/r/2530/

Modified:
    team/dlee/playback-rebase/   (props changed)
    team/dlee/playback-rebase/res/res_stasis.c

Propchange: team/dlee/playback-rebase/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed May 15 08:43:37 2013
@@ -1,1 +1,1 @@
-/trunk:1-388701
+/trunk:1-388729

Modified: team/dlee/playback-rebase/res/res_stasis.c
URL: http://svnview.digium.com/svn/asterisk/team/dlee/playback-rebase/res/res_stasis.c?view=diff&rev=388812&r1=388811&r2=388812
==============================================================================
--- team/dlee/playback-rebase/res/res_stasis.c (original)
+++ team/dlee/playback-rebase/res/res_stasis.c Wed May 15 08:43:37 2013
@@ -333,7 +333,6 @@
 		}
 	}
 }
-
 
 static void distribute_message(struct ao2_container *apps, struct ast_json *msg)
 {




More information about the asterisk-commits mailing list