[svn-commits] dvossel: branch dvossel/awesomehooks r287554 - /team/dvossel/awesomehooks/inc...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Mon Sep 20 10:46:59 CDT 2010


Author: dvossel
Date: Mon Sep 20 10:46:55 2010
New Revision: 287554

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=287554
Log:
fixes whitespace problem

Modified:
    team/dvossel/awesomehooks/include/asterisk/framehook.h

Modified: team/dvossel/awesomehooks/include/asterisk/framehook.h
URL: http://svnview.digium.com/svn/asterisk/team/dvossel/awesomehooks/include/asterisk/framehook.h?view=diff&rev=287554&r1=287553&r2=287554
==============================================================================
--- team/dvossel/awesomehooks/include/asterisk/framehook.h (original)
+++ team/dvossel/awesomehooks/include/asterisk/framehook.h Mon Sep 20 10:46:55 2010
@@ -20,7 +20,7 @@
  * \brief FrameHook Architecture
  */
 
-/*! 
+/*!
 
 \page AstFrameHookAPI Asterisk FrameHook API
 
@@ -34,7 +34,7 @@
     channel API and the Asterisk core when going in the READ direction, and
     as a layer between the Channel API and the tech_pvt when going in the
     WRITE direction.
-    
+
 \section FrameHookAPIUsage How to Use an FrameHook
     Attaching and detaching an FrameHook to a channel is very simple.  There are only
     two functions involved, ast_framehook_attach() which will return an id representing
@@ -43,12 +43,12 @@
     functions and their usage.
 
 \code
-	struct ast_framehook_interface interface = {
+    struct ast_framehook_interface interface = {
         .version = AST_FRAMEHOOK_INTERFACE_VERSION,
         .event_cb = hook_event_cb,
         .destroy_cb = hook_destroy_cb,
         .data = data, // where the data ptr points to any custom data used later by the hook cb.
-	};
+    };
     int id = ast_framehook_attach(channel, &interface);
 \endcode
 
@@ -89,7 +89,7 @@
             struct ast_frame *frame,
             enum ast_framehook_event event,
             void *data) {
-   
+
         int *id = data;
 
         if (!frame) {
@@ -108,11 +108,11 @@
     {
 
     int some_function() {
-    	struct ast_framehook_interface interface = {
+        struct ast_framehook_interface interface = {
             .version = AST_FRAMEHOOK_INTERFACE_VERSION,
-    		.event_cb = hook_event_cb,
+            .event_cb = hook_event_cb,
             .destroy_cb = hook_destroy_cb,
-    	};
+        };
         int *id = ast_calloc(1, sizeof(int));
 
         if (!id) {




More information about the svn-commits mailing list