summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2005-03-26 21:01:59 +0000
committerRussell Bryant <russell@russellbryant.com>2005-03-26 21:01:59 +0000
commitcd0655bf8957e5b1a3598f7736a007f3d6532463 (patch)
tree54e0e563805b53e23513641ba1ce0cdfcc601407
parenteaa4b200d230cbd5e90abffc7a300df68b4d3bb9 (diff)
formatting fixes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rwxr-xr-xpbx.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/pbx.c b/pbx.c
index 64a2e7dfa..866e4f9d2 100755
--- a/pbx.c
+++ b/pbx.c
@@ -1,4 +1,4 @@
- /*
+/*
* Asterisk -- A telephony toolkit for Linux.
*
* Core PBX routines.
@@ -120,7 +120,7 @@ struct ast_context {
struct ast_ignorepat *ignorepats; /* Patterns for which to continue playing dialtone */
const char *registrar; /* Registrar */
struct ast_sw *alts; /* Alternative switches */
- char name[0]; /* Name of the context */
+ char name[0]; /* Name of the context */
};
@@ -130,32 +130,32 @@ struct ast_app {
const char *synopsis; /* Synopsis text for 'show applications' */
const char *description; /* Description (help text) for 'show application <name>' */
struct ast_app *next; /* Next app in list */
- char name[0]; /* Name of the application */
+ char name[0]; /* Name of the application */
};
/* ast_state_cb: An extension state notify */
struct ast_state_cb {
- int id;
- void *data;
- ast_state_cb_type callback;
- struct ast_state_cb *next;
+ int id;
+ void *data;
+ ast_state_cb_type callback;
+ struct ast_state_cb *next;
};
/* ast_devstate_cb: An extension state notify */
struct ast_devstate_cb {
- void *data;
- ast_devstate_cb_type callback;
- struct ast_devstate_cb *next;
+ void *data;
+ ast_devstate_cb_type callback;
+ struct ast_devstate_cb *next;
};
static struct ast_devstate_cb *devcbs;
/* Hints are pointers from an extension in the dialplan to one or more devices (tech/name) */
struct ast_hint {
- struct ast_exten *exten; /* Extension */
- int laststate; /* Last known state */
- struct ast_state_cb *callbacks; /* Callback list for this extension */
- struct ast_hint *next; /* Pointer to next hint in list */
+ struct ast_exten *exten; /* Extension */
+ int laststate; /* Last known state */
+ struct ast_state_cb *callbacks; /* Callback list for this extension */
+ struct ast_hint *next; /* Pointer to next hint in list */
};
int ast_pbx_outgoing_cdr_failed(void);