mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-14 05:18:31 +00:00
run indent on the whole tree and update copyright dates in prep for 1.0.5
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16579 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
7b347417e5
commit
886e1ddb4d
229 files changed
+20252
-20192
No files matched your search
@@ -14,41 +14,39 @@ extern "C" {
|
||||
#include <perl.h>
|
||||
#include <switch.h>
|
||||
}
|
||||
|
||||
#include <switch_cpp.h>
|
||||
|
||||
namespace PERL {
|
||||
class Session : public CoreSession {
|
||||
private:
|
||||
virtual void do_hangup_hook();
|
||||
PerlInterpreter *getPERL();
|
||||
PerlInterpreter *my_perl;
|
||||
int hh;
|
||||
int mark;
|
||||
SV *me;
|
||||
public:
|
||||
Session();
|
||||
Session(char *uuid, CoreSession *a_leg = NULL);
|
||||
Session(switch_core_session_t *session);
|
||||
~Session();
|
||||
class Session:public CoreSession {
|
||||
private:
|
||||
virtual void do_hangup_hook();
|
||||
PerlInterpreter *getPERL();
|
||||
PerlInterpreter *my_perl;
|
||||
int hh;
|
||||
int mark;
|
||||
SV *me;
|
||||
public:
|
||||
Session();
|
||||
Session(char *uuid, CoreSession * a_leg = NULL);
|
||||
Session(switch_core_session_t *session);
|
||||
~Session();
|
||||
|
||||
virtual void destroy(void);
|
||||
virtual bool begin_allow_threads();
|
||||
virtual bool end_allow_threads();
|
||||
virtual void check_hangup_hook();
|
||||
virtual void destroy(void);
|
||||
virtual bool begin_allow_threads();
|
||||
virtual bool end_allow_threads();
|
||||
virtual void check_hangup_hook();
|
||||
|
||||
virtual switch_status_t run_dtmf_callback(void *input, switch_input_type_t itype);
|
||||
void setME(SV *p);
|
||||
void setInputCallback(char *cbfunc = "on_input", char *funcargs = NULL);
|
||||
void unsetInputCallback(void);
|
||||
void setHangupHook(char *func, char *arg=NULL);
|
||||
bool ready();
|
||||
char *suuid;
|
||||
char *cb_function;
|
||||
char *cb_arg;
|
||||
char *hangup_func_str;
|
||||
char *hangup_func_arg;
|
||||
void setPERL(PerlInterpreter *pi);
|
||||
};
|
||||
virtual switch_status_t run_dtmf_callback(void *input, switch_input_type_t itype);
|
||||
void setME(SV * p);
|
||||
void setInputCallback(char *cbfunc = "on_input", char *funcargs = NULL);
|
||||
void unsetInputCallback(void);
|
||||
void setHangupHook(char *func, char *arg = NULL);
|
||||
bool ready();
|
||||
char *suuid;
|
||||
char *cb_function;
|
||||
char *cb_arg;
|
||||
char *hangup_func_str;
|
||||
char *hangup_func_arg;
|
||||
void setPERL(PerlInterpreter * pi);
|
||||
};
|
||||
}
|
||||
#endif
|
||||
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* FreeSWITCH Modular Media Switching Software Library / Soft-Switch Application
|
||||
* Copyright (C) 2005-2009, Anthony Minessale II <anthm@freeswitch.org>
|
||||
* Copyright (C) 2005-2010, Anthony Minessale II <anthm@freeswitch.org>
|
||||
*
|
||||
* Version: MPL 1.1
|
||||
*
|
||||
@@ -282,7 +282,7 @@ static void *SWITCH_THREAD_FUNC perl_thread_run(switch_thread_t *thread, void *o
|
||||
if (po->d) {
|
||||
free(po);
|
||||
}
|
||||
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
#ifndef MOD_PERL_EXTRA
|
||||
#define MOD_PERL_EXTRA
|
||||
SWITCH_BEGIN_EXTERN_C
|
||||
|
||||
void mod_perl_conjure_event(PerlInterpreter *my_perl, switch_event_t *event, const char *name);
|
||||
void mod_perl_conjure_stream(PerlInterpreter *my_perl, switch_stream_handle_t *stream, const char *name);
|
||||
SWITCH_BEGIN_EXTERN_C void mod_perl_conjure_event(PerlInterpreter * my_perl, switch_event_t *event, const char *name);
|
||||
void mod_perl_conjure_stream(PerlInterpreter * my_perl, switch_stream_handle_t *stream, const char *name);
|
||||
|
||||
SWITCH_END_EXTERN_C
|
||||
#endif
|
||||
Reference in new issue
Block a user