91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.33 MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2024-11-27
  • 語言: 其他
  • 標簽:

資源簡介

SIP電話實例有文檔說明

資源截圖

代碼片段和文件信息

/*
??The?oSIP?library?implements?the?Session?Initiation?Protocol?(SIP?-rfc3261-)
??Copyright?(C)?200120022003??Aymeric?MOIZARD?jack@atosc.org
??
??This?library?is?free?software;?you?can?redistribute?it?and/or
??modify?it?under?the?terms?of?the?GNU?Lesser?General?Public
??License?as?published?by?the?Free?Software?Foundation;?either
??version?2.1?of?the?License?or?(at?your?option)?any?later?version.
??
??This?library?is?distributed?in?the?hope?that?it?will?be?useful
??but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
??MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the?GNU
??Lesser?General?Public?License?for?more?details.
??
??You?should?have?received?a?copy?of?the?GNU?Lesser?General?Public
??License?along?with?this?library;?if?not?write?to?the?Free?Software
??Foundation?Inc.?59?Temple?Place?Suite?330?Boston?MA??02111-1307??USA
*/

#include?

#include?
#include?
#include?
#include?“fsm.h“

static?transition_t?*fsm_findmethod?(type_t?type?state_t?state
?????????????????????????????????????osip_statemachine_t?*?statemachine);

/*?find?the?transition?for?state?and?type?in?statemachine?*/
/*?return?NULL;?if?transition?is?not?found.???????????????*/
static?transition_t?*
fsm_findmethod?(type_t?type?state_t?state?osip_statemachine_t?*?statemachine)
{
??int?pos;

??pos?=?0;
??while?(!osip_list_eol?(statemachine->transitions?pos))
????{
??????transition_t?*transition;

??????transition?=?(transition_t?*)?osip_list_get?(statemachine->transitions?pos);
??????if?(transition->type?==?type?&&?transition->state?==?state)
????????return?transition;
??????pos++;
????}
??return?NULL;
}


/*?call?the?right?execution?method.??????????*/
/*???return?-1?when?event?must?be?discarded??*/
int
fsm_callmethod?(type_t?type?state_t?state
????????????????osip_statemachine_t?*?statemachine?void?*sipevent
????????????????void?*transaction)
{
??transition_t?*transition;

??transition?=?fsm_findmethod?(type?state?statemachine);
??if?(transition?==?NULL)
????{
??????/*?No?transition?found?for?this?event?*/
??????return?-1;????????????????/*?error?*/
????}
??transition->method?(transaction?sipevent);
??return?0;?????????????????????/*?ok?*/
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????????266??2006-10-17?19:46??osip\bin\1.txt

?????文件????????471??2006-10-17?20:23??osip\bin\2.txt

?????文件?????245760??2006-10-17?20:47??osip\bin\OpenSIP.dll

?????文件??????22758??2006-10-17?19:26??osip\bin\OpenSIP.lib

?????文件?????352256??2006-10-17?20:48??osip\bin\OpenSIPParser.dll

?????文件??????98690??2006-10-17?14:42??osip\bin\OpenSIPParser.lib

?????文件??????86070??2005-06-04?09:52??osip\bin\pthreadVC2.dll

?????文件?????114688??2006-10-17?19:40??osip\bin\tcallid.exe

?????文件?????114688??2006-10-17?20:48??osip\bin\tcontact.exe

?????文件?????114688??2006-10-17?20:48??osip\bin\tcontentt.exe

?????文件?????????30??2003-05-13?22:27??osip\include\Makefile.am

?????文件??????14545??2006-04-18?18:20??osip\include\Makefile.in

?????文件???????2201??2005-11-28?20:28??osip\include\osip2\doxygen.dox.in

?????文件???????5719??2005-11-24?20:20??osip\include\osip2\internal.h

?????文件????????190??2005-11-28?20:28??osip\include\osip2\Makefile.am

?????文件??????12414??2006-04-18?18:20??osip\include\osip2\Makefile.in

?????文件??????36024??2006-01-11?22:13??osip\include\osip2\osip.h

?????文件???????2689??2005-11-24?20:20??osip\include\osip2\osip_condv.h

?????文件???????7557??2005-11-24?20:20??osip\include\osip2\osip_dialog.h

?????文件???????3316??2005-11-24?20:20??osip\include\osip2\osip_fifo.h

?????文件???????4132??2005-11-24?20:20??osip\include\osip2\osip_mt.h

?????文件???????1456??2005-11-24?20:20??osip\include\osip2\osip_time.h

?????文件????????834??2004-12-28?21:39??osip\include\osipparser2\headers\Makefile.am

?????文件??????13252??2006-04-18?18:20??osip\include\osipparser2\headers\Makefile.in

?????文件???????2862??2005-09-21?22:13??osip\include\osipparser2\headers\osip_accept.h

?????文件???????3778??2004-12-28?21:30??osip\include\osipparser2\headers\osip_accept_encoding.h

?????文件???????3544??2004-12-28?21:30??osip\include\osipparser2\headers\osip_accept_language.h

?????文件???????2725??2004-12-28?21:30??osip\include\osipparser2\headers\osip_alert_info.h

?????文件???????2288??2004-12-28?21:30??osip\include\osipparser2\headers\osip_allow.h

?????文件???????5091??2005-02-22?07:52??osip\include\osipparser2\headers\osip_authentication_info.h

............此處省略129個文件信息

評論

共有 條評論

相關資源