cygnal 40 cygnal/cgi-bin/echo/echo.cpp using namespace cygnal; cygnal 73 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> echo_read_func() cygnal 77 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> buf = echo.getResponse(); cygnal 90 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> buf = echo.getResponse(); cygnal 92 cygnal/cgi-bin/echo/echo.cpp vector<boost::shared_ptr<cygnal::Element> > request = cygnal 181 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> bufptr(new cygnal::Buffer); cygnal 193 cygnal/cgi-bin/echo/echo.cpp vector<boost::shared_ptr<cygnal::Element> > request = net.parseEchoRequest( cygnal 196 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> result = net.formatEchoResponse(request[1]->to_number(), *request[3]); cygnal 219 cygnal/cgi-bin/echo/echo.cpp vector<boost::shared_ptr<cygnal::Element > > cygnal 224 cygnal/cgi-bin/echo/echo.cpp cygnal::AMF amf; cygnal 225 cygnal/cgi-bin/echo/echo.cpp vector<boost::shared_ptr<cygnal::Element > > headers; cygnal 228 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Element> el1 = amf.extractAMF(ptr, ptr+size); cygnal 233 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Element> el2 = amf.extractAMF(ptr, ptr+size); cygnal 238 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Element> el3 = amf.extractAMF(ptr, ptr+size); cygnal 243 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Element> el4 = amf.extractAMF(ptr, ptr+size); cygnal 257 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> cygnal 261 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> data = cygnal::AMF::encodeElement(el); cygnal 272 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> cygnal 279 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> cygnal 294 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> encecho = echo.encode(); cygnal 295 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> encidx = index.encode(); cygnal 296 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> encnull = null.encode(); cygnal 298 cygnal/cgi-bin/echo/echo.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(encecho->size() cygnal 39 cygnal/cgi-bin/echo/echo.h namespace cygnal cygnal 42 cygnal/cgi-bin/echo/echo.h class EchoTest : public cygnal::RTMPServer cygnal 49 cygnal/cgi-bin/echo/echo.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(cygnal::Buffer &buf) cygnal 51 cygnal/cgi-bin/echo/echo.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(boost::uint8_t *buf, size_t size); cygnal 54 cygnal/cgi-bin/echo/echo.h boost::shared_ptr<cygnal::Buffer> formatEchoResponse(double num, cygnal::Element &el); cygnal 55 cygnal/cgi-bin/echo/echo.h boost::shared_ptr<cygnal::Buffer> formatEchoResponse(double num, cygnal::Buffer &data); cygnal 56 cygnal/cgi-bin/echo/echo.h boost::shared_ptr<cygnal::Buffer> formatEchoResponse(double num, boost::uint8_t *data, size_t size); cygnal 58 cygnal/cgi-bin/echo/echo.h boost::shared_ptr<cygnal::Buffer> getResponse() { return _response; }; cygnal 59 cygnal/cgi-bin/echo/echo.h void setResponse(boost::shared_ptr<cygnal::Buffer> &x) { _response = x; }; cygnal 66 cygnal/cgi-bin/echo/echo.h boost::shared_ptr<cygnal::Buffer> _response; cygnal 80 cygnal/cgi-bin/echo/echo.h boost::shared_ptr<cygnal::Buffer> echo_read_func(); cygnal 38 cygnal/cgi-bin/fitcDemo/fitcDemo.h namespace cygnal cygnal 41 cygnal/cgi-bin/fitcDemo/fitcDemo.h class FitcDemoTest : public cygnal::RTMPServer cygnal 91 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp using namespace cygnal; cygnal 127 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> oflaDemo_read_func() cygnal 131 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> buf = oflaDemo.getResponse(); cygnal 143 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> buf = oflaDemo.getResponse(); cygnal 145 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp vector<boost::shared_ptr<cygnal::Element> > request = cygnal 152 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> error = cygnal 156 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> head = oflaDemo.encodeHeader(0x3, cygnal 159 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::scoped_ptr<cygnal::Buffer> response(new cygnal::Buffer( cygnal 253 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> bufptr(new cygnal::Buffer); cygnal 265 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp vector<boost::shared_ptr<cygnal::Element> > request = net.parseOflaDemoRequest( cygnal 268 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> result = net.formatOflaDemoResponse(request[1]->to_number(), *request[3]); cygnal 388 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp vector<boost::shared_ptr<cygnal::Element > > cygnal 394 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp cygnal::AMF amf; cygnal 395 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp vector<boost::shared_ptr<cygnal::Element > > headers; cygnal 397 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Element> el1 = amf.extractAMF(ptr, ptr+size); cygnal 408 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Element> el2 = amf.extractAMF(ptr, ptr+size); cygnal 419 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Element> version; cygnal 420 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Element> tcurl; cygnal 421 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Element> swfurl; cygnal 457 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp vector<boost::shared_ptr<cygnal::Buffer> > buffers; cygnal 459 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp vector<boost::shared_ptr<cygnal::Element> > data; cygnal 462 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Element> obj(new cygnal::Element); cygnal 466 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Element> modified(new cygnal::Element); cygnal 470 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Element> name(new cygnal::Element); cygnal 474 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Element> size(new cygnal::Element); cygnal 482 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> topenc = toparr.encode(); cygnal 486 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp cygnal::Element method; cygnal 488 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> methodenc = method.encode(); cygnal 492 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp cygnal::Element sid; cygnal 494 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> sidenc = sid.encode(); cygnal 500 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> encnull = null.encode(); cygnal 503 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> result(new cygnal::Buffer(total_size+cygnal::AMF_HEADER_SIZE+RTMP_MAX_HEADER_SIZE+10)); cygnal 504 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp _response.reset(new cygnal::Buffer(total_size+cygnal::AMF_HEADER_SIZE+RTMP_MAX_HEADER_SIZE+10)); cygnal 506 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> head = encodeHeader(0x3, cygnal 518 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp vector<boost::shared_ptr<cygnal::Buffer> >::iterator rit; cygnal 520 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> buf = *rit; cygnal 522 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp std::vector<boost::shared_ptr<cygnal::Element> > data1; cygnal 537 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> cygnal 541 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> data = cygnal::AMF::encodeElement(el); cygnal 552 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> cygnal 559 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> cygnal 574 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> encoflaDemo = oflaDemo.encode(); cygnal 575 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> encidx = index.encode(); cygnal 576 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> encnull = null.encode(); cygnal 578 cygnal/cgi-bin/oflaDemo/oflaDemo.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(encoflaDemo->size() cygnal 39 cygnal/cgi-bin/oflaDemo/oflaDemo.h namespace cygnal cygnal 69 cygnal/cgi-bin/oflaDemo/oflaDemo.h class OflaDemoTest : public cygnal::RTMPServer cygnal 76 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::vector<boost::shared_ptr<cygnal::Element > > parseOflaDemoRequest(cygnal::Buffer &buf) cygnal 78 cygnal/cgi-bin/oflaDemo/oflaDemo.h std::vector<boost::shared_ptr<cygnal::Element > > parseOflaDemoRequest(boost::uint8_t *buf, size_t size); cygnal 81 cygnal/cgi-bin/oflaDemo/oflaDemo.h boost::shared_ptr<cygnal::Buffer> formatOflaDemoResponse(double num, cygnal::Element &el); cygnal 82 cygnal/cgi-bin/oflaDemo/oflaDemo.h boost::shared_ptr<cygnal::Buffer> formatOflaDemoResponse(double num, cygnal::Buffer &data); cygnal 83 cygnal/cgi-bin/oflaDemo/oflaDemo.h boost::shared_ptr<cygnal::Buffer> formatOflaDemoResponse(double num, boost::uint8_t *data, size_t size); cygnal 85 cygnal/cgi-bin/oflaDemo/oflaDemo.h boost::shared_ptr<cygnal::Buffer> getResponse() { return _response; }; cygnal 86 cygnal/cgi-bin/oflaDemo/oflaDemo.h void setResponse(boost::shared_ptr<cygnal::Buffer> &x) { _response = x; }; cygnal 99 cygnal/cgi-bin/oflaDemo/oflaDemo.h boost::shared_ptr<cygnal::Buffer> _response; cygnal 107 cygnal/cgi-bin/oflaDemo/oflaDemo.h boost::shared_ptr<cygnal::Buffer> oflaDemo_read_func(); cygnal 31 cygnal/crc.h namespace cygnal { cygnal 104 cygnal/cygnal.cpp using namespace cygnal; cygnal 842 cygnal/cygnal.cpp boost::shared_ptr<cygnal::Buffer> buf(http->peekChunk()); cygnal 860 cygnal/cygnal.cpp cygnal::Buffer *buf = 0; cygnal 904 cygnal/cygnal.cpp boost::shared_ptr<cygnal::Element> tcurl = cygnal 37 cygnal/cygnal.h namespace cygnal { cygnal 66 cygnal/handler.cpp namespace cygnal cygnal 141 cygnal/handler.cpp cygnal::Buffer * cygnal 147 cygnal/handler.cpp cygnal::Buffer *buf = 0; cygnal 177 cygnal/handler.cpp buf = new cygnal::Buffer(bytes); cygnal 370 cygnal/handler.cpp boost::shared_ptr<cygnal::Buffer> cygnal 375 cygnal/handler.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 61 cygnal/handler.h namespace cygnal cygnal 131 cygnal/handler.h void addSOL(boost::shared_ptr<cygnal::Element> x) { cygnal 177 cygnal/handler.h boost::shared_ptr<cygnal::Buffer> readFromPlugin(); cygnal 180 cygnal/handler.h size_t writeToPlugin(cygnal::Buffer &buf) { cygnal 246 cygnal/handler.h cygnal::Buffer *parseFirstRequest(int fd, gnash::Network::protocols_supported_e proto); cygnal 289 cygnal/handler.h boost::shared_ptr<cygnal::Proc> _local; cygnal 298 cygnal/handler.h std::vector<boost::shared_ptr<cygnal::Element> > _sol; cygnal 94 cygnal/http_server.cpp cygnal::Buffer *buf = new cygnal::Buffer; cygnal 105 cygnal/http_server.cpp cygnal::Buffer result; cygnal 181 cygnal/http_server.cpp cygnal::Buffer & cygnal 194 cygnal/http_server.cpp cygnal::Buffer buf; cygnal 240 cygnal/http_server.cpp cygnal::Buffer &reply = formatHeader(_diskstream->getFileType(), cygnal 272 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 279 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 295 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> content(new cygnal::Buffer(length)); cygnal 318 cygnal/http_server.cpp boost::shared_ptr<cygnal::Element> el = amf.extractAMF(content.reference(), content.end()); cygnal 339 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> reply = cgis.readNet(); cygnal 344 cygnal/http_server.cpp vector<boost::shared_ptr<cygnal::Element> > headers = parseEchoRequest(*content); cygnal 349 cygnal/http_server.cpp cygnal::Buffer &reply = formatEchoResponse(headers[1]->getName(), *headers[3]); cygnal 357 cygnal/http_server.cpp cygnal::Buffer &reply = formatHeader(_filetype, _filesize, HTTPServer::OK); cygnal 364 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 367 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 374 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 378 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 384 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 388 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 394 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 398 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 404 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 408 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 414 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 418 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 424 cygnal/http_server.cpp cygnal::Buffer & cygnal 461 cygnal/http_server.cpp cygnal::Buffer & cygnal 470 cygnal/http_server.cpp cygnal::Buffer & cygnal 495 cygnal/http_server.cpp cygnal::Buffer & cygnal 509 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> buf = new cygnal::Buffer; cygnal 530 cygnal/http_server.cpp vector<boost::shared_ptr<cygnal::Element > > cygnal 535 cygnal/http_server.cpp vector<boost::shared_ptr<cygnal::Element > > headers; cygnal 546 cygnal/http_server.cpp boost::shared_ptr<cygnal::Element > el1(new cygnal::Element); cygnal 565 cygnal/http_server.cpp boost::shared_ptr<cygnal::Element > el2(new cygnal::Element); cygnal 585 cygnal/http_server.cpp boost::shared_ptr<cygnal::Element> el3 = amf.extractAMF(tmpptr, tmpptr + size); cygnal 589 cygnal/http_server.cpp boost::shared_ptr<cygnal::Element> el4 = amf.extractAMF(tmpptr, tmpptr + size); cygnal 598 cygnal/http_server.cpp cygnal::Buffer & cygnal 602 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> data; cygnal 604 cygnal/http_server.cpp cygnal::Element nel; cygnal 605 cygnal/http_server.cpp if (el.getType() == cygnal::Element::TYPED_OBJECT_AMF0) { cygnal 613 cygnal/http_server.cpp boost::shared_ptr<cygnal::Element> child = el.getProperty(i); cygnal 627 cygnal/http_server.cpp cygnal::Buffer & cygnal 634 cygnal/http_server.cpp cygnal::Buffer & cygnal 642 cygnal/http_server.cpp cygnal::Buffer fixme("00 00 00 00 00 01"); cygnal 643 cygnal/http_server.cpp cygnal::Buffer fixme2("ff ff ff ff"); cygnal 664 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> res = amf::AMF::encodeString(result); cygnal 668 cygnal/http_server.cpp boost::shared_ptr<cygnal::Buffer> null = amf::AMF::encodeString("null"); cygnal 674 cygnal/http_server.cpp cygnal::Element::amf0_type_e type = static_cast<cygnal::Element::amf0_type_e>(*data); cygnal 675 cygnal/http_server.cpp if ((type == cygnal::Element::UNSUPPORTED_AMF0) cygnal 676 cygnal/http_server.cpp || (type == cygnal::Element::NULL_AMF0)) { cygnal 679 cygnal/http_server.cpp } else if (type == cygnal::Element::UNDEFINED_AMF0) { cygnal 680 cygnal/http_server.cpp _buffer += cygnal::Element::NULL_AMF0; cygnal 38 cygnal/http_server.h namespace cygnal cygnal 49 cygnal/http_server.h http_method_e processClientRequest(Handler *hand, int fd, cygnal::Buffer *buf); cygnal 50 cygnal/http_server.h cygnal::Buffer &processGetRequest(Handler *hand, int fd, cygnal::Buffer *buf); cygnal 51 cygnal/http_server.h boost::shared_ptr<cygnal::Buffer> processPostRequest(int fd, cygnal::Buffer *buf); cygnal 52 cygnal/http_server.h boost::shared_ptr<cygnal::Buffer> processPutRequest(int fd, cygnal::Buffer *buf); cygnal 53 cygnal/http_server.h boost::shared_ptr<cygnal::Buffer> processDeleteRequest(int fd, cygnal::Buffer *buf); cygnal 54 cygnal/http_server.h boost::shared_ptr<cygnal::Buffer> processConnectRequest(int fd, cygnal::Buffer *buf); cygnal 55 cygnal/http_server.h boost::shared_ptr<cygnal::Buffer> processOptionsRequest(int fd, cygnal::Buffer *buf); cygnal 56 cygnal/http_server.h boost::shared_ptr<cygnal::Buffer> processHeadRequest(int fd, cygnal::Buffer *buf); cygnal 57 cygnal/http_server.h boost::shared_ptr<cygnal::Buffer> processTraceRequest(int fd, cygnal::Buffer *buf); cygnal 60 cygnal/http_server.h boost::shared_ptr<cygnal::Buffer> formatServerReply(http_status_e code); cygnal 61 cygnal/http_server.h cygnal::Buffer &formatGetReply(gnash::DiskStream::filetype_e type, size_t size, http_status_e code); cygnal 62 cygnal/http_server.h cygnal::Buffer &formatGetReply(size_t size, http_status_e code); cygnal 63 cygnal/http_server.h cygnal::Buffer &formatGetReply(http_status_e code); cygnal 64 cygnal/http_server.h cygnal::Buffer &formatPostReply(rtmpt_cmd_e code); cygnal 65 cygnal/http_server.h cygnal::Buffer &formatErrorResponse(http_status_e err); cygnal 71 cygnal/http_server.h rtmpt_cmd_e extractRTMPT(cygnal::Buffer &data) cygnal 78 cygnal/http_server.h http_method_e extractCommand(cygnal::Buffer &data) cygnal 84 cygnal/http_server.h boost::uint8_t *processHeaderFields(cygnal::Buffer &buf); cygnal 89 cygnal/http_server.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(gnash::cygnal::Buffer &buf) { return parseEchoRequest(buf.reference(), buf.size()); }; cygnal 90 cygnal/http_server.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(boost::uint8_t *buf, size_t size); cygnal 93 cygnal/http_server.h gnash::cygnal::Buffer &formatEchoResponse(const std::string &num, cygnal::Element &el); cygnal 94 cygnal/http_server.h gnash::cygnal::Buffer &formatEchoResponse(const std::string &num, cygnal::Buffer &data); cygnal 95 cygnal/http_server.h gnash::cygnal::Buffer &formatEchoResponse(const std::string &num, uint8_t *data, size_t size); cygnal 98 cygnal/http_server.h bool http_handler(Handler *hand, int netfd, cygnal::Buffer *buf); cygnal 181 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 183 cygnal/libamf/amf.cpp buf.reset(new cygnal::Buffer); cygnal 190 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> >::const_iterator ait; cygnal 191 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = data.getProperties(); cygnal 193 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> el = (*(ait)); cygnal 194 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Buffer> item = AMF::encodeElement(el); cygnal 320 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 349 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> >::const_iterator ait; cygnal 350 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = data.getProperties(); cygnal 352 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> el = (*(ait)); cygnal 353 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Buffer> item = AMF::encodeElement(el); cygnal 384 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Buffer> buf(new Buffer(3)); cygnal 428 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer); cygnal 432 cygnal/libamf/amf.cpp buf.reset(new cygnal::Buffer(5)); cygnal 442 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Buffer> item; cygnal 443 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> >::const_iterator ait; cygnal 444 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = data.getProperties(); cygnal 446 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> el = (*(ait)); cygnal 454 cygnal/libamf/amf.cpp cygnal::Element ellen("length"); cygnal 470 cygnal/libamf/amf.cpp cygnal::Element ellen("length", count); cygnal 471 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Buffer> buflen = ellen.encode(); cygnal 533 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer); cygnal 535 cygnal/libamf/amf.cpp buf.reset(new cygnal::Buffer); cygnal 547 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> >::const_iterator ait; cygnal 548 cygnal/libamf/amf.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = data.getProperties(); cygnal 553 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> el = (*(ait)); cygnal 579 cygnal/libamf/amf.cpp cygnal::Element elnum(os.str().c_str(), el->to_number()); cygnal 582 cygnal/libamf/amf.cpp cygnal::Element ellen("length", nodes); cygnal 585 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Buffer> item = AMF::encodeElement(el); cygnal 795 cygnal/libamf/amf.cpp bigbuf.reset(new cygnal::Buffer(el.getNameSize() + sizeof(boost::uint16_t) + buf->size())); cygnal 797 cygnal/libamf/amf.cpp bigbuf.reset(new cygnal::Buffer(el.getNameSize() + sizeof(boost::uint16_t))); cygnal 882 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> cygnal 903 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> cygnal 910 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> el(new Element); cygnal 917 cygnal/libamf/amf.cpp std::map<boost::uint16_t, cygnal::Element> references; cygnal 964 cygnal/libamf/amf.cpp swapBytes(&swapped, cygnal::AMF0_NUMBER_SIZE); cygnal 1005 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> child = cygnal 1053 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> child = cygnal 1074 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> child = cygnal 1098 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> child = cygnal 1114 cygnal/libamf/amf.cpp swapBytes(&swapped, cygnal::AMF0_NUMBER_SIZE); cygnal 1155 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> child = cygnal 1190 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> cygnal 1213 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> cygnal 1220 cygnal/libamf/amf.cpp boost::shared_ptr<cygnal::Element> el; cygnal 39 cygnal/libamf/amf.h namespace cygnal cygnal 206 cygnal/libamf/amf.h static boost::shared_ptr<Buffer> encodeTypedObject(const cygnal::Element &data); cygnal 240 cygnal/libamf/amf.h static boost::shared_ptr<Buffer> encodeECMAArray(const cygnal::Element &data); cygnal 283 cygnal/libamf/amf.h static boost::shared_ptr<Buffer> encodeStrictArray(const cygnal::Element &data); cygnal 291 cygnal/libamf/amf.h static boost::shared_ptr<Buffer> encodeObject(const cygnal::Element &data); cygnal 313 cygnal/libamf/amf.h static boost::shared_ptr<Buffer> encodeElement(boost::shared_ptr<cygnal::Element> el); cygnal 321 cygnal/libamf/amf.h static boost::shared_ptr<Buffer> encodeElement(const cygnal::Element& el); cygnal 329 cygnal/libamf/amf.h boost::shared_ptr<Buffer> encodeProperty(boost::shared_ptr<cygnal::Element> el); cygnal 361 cygnal/libamf/amf.h boost::shared_ptr<cygnal::Element> extractAMF(boost::uint8_t *in, boost::uint8_t* tooFar); cygnal 371 cygnal/libamf/amf.h boost::shared_ptr<cygnal::Element> extractAMF(boost::shared_ptr<Buffer> buf); cygnal 388 cygnal/libamf/amf.h boost::shared_ptr<cygnal::Element> extractProperty(boost::uint8_t *in, boost::uint8_t* tooFar); cygnal 402 cygnal/libamf/amf.h boost::shared_ptr<cygnal::Element> extractProperty(boost::shared_ptr<Buffer> buf); cygnal 43 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> cygnal 49 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> buf (new cygnal::Buffer(size)); cygnal 64 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> cygnal 75 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> cygnal 82 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> buf (new cygnal::Buffer(sizeof(AMF_msg::message_header_t))); cygnal 220 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Element> el = amf.extractAMF(ptr, ptr+size); cygnal 237 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> cygnal 246 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> cygnal 250 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer); cygnal 253 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> buf1 = encodeContextHeader(0, 0, _messages.size()); cygnal 262 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> buf2 = encodeMsgHeader(msg->header.target, cygnal 268 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> buf3 = msg->data->encode(); cygnal 276 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> cygnal 285 cygnal/libamf/amf_msg.cpp boost::shared_ptr<cygnal::Buffer> buf (new cygnal::Buffer(total)); cygnal 40 cygnal/libamf/amf_msg.h namespace cygnal cygnal 72 cygnal/libamf/amf_msg.h boost::shared_ptr<cygnal::Element> data; cygnal 83 cygnal/libamf/amf_msg.h static boost::shared_ptr<cygnal::Buffer> encodeContextHeader(context_header_t *head); cygnal 84 cygnal/libamf/amf_msg.h static boost::shared_ptr<cygnal::Buffer> encodeContextHeader(boost::uint16_t version, cygnal 88 cygnal/libamf/amf_msg.h static boost::shared_ptr<cygnal::Buffer> encodeMsgHeader(message_header_t *head); cygnal 89 cygnal/libamf/amf_msg.h static boost::shared_ptr<cygnal::Buffer> encodeMsgHeader(const std::string &target, cygnal 93 cygnal/libamf/amf_msg.h static boost::shared_ptr<context_header_t> parseContextHeader(cygnal::Buffer &data); cygnal 96 cygnal/libamf/amf_msg.h static boost::shared_ptr<message_header_t> parseMessageHeader(cygnal::Buffer &data); cygnal 100 cygnal/libamf/amf_msg.h boost::shared_ptr<context_header_t> parseAMFPacket(cygnal::Buffer &buf); cygnal 105 cygnal/libamf/amf_msg.h boost::shared_ptr<cygnal::Buffer> encodeAMFPacket(); cygnal 106 cygnal/libamf/amf_msg.h boost::shared_ptr<cygnal::Buffer> encodeAMFPacket(const std::string &target, cygnal 24 cygnal/libamf/amfutf8.h namespace cygnal cygnal 148 cygnal/libamf/buffer.cpp _nbytes = cygnal::NETBUFSIZE; cygnal 149 cygnal/libamf/buffer.cpp init(cygnal::NETBUFSIZE); cygnal 43 cygnal/libamf/buffer.h namespace cygnal cygnal 203 cygnal/libamf/buffer.h Buffer &operator=(cygnal::Element::amf0_type_e type); cygnal 269 cygnal/libamf/buffer.h Buffer &operator+=(cygnal::Element::amf0_type_e type); cygnal 189 cygnal/libamf/element.cpp shared_ptr<cygnal::Element> el = new Element(flag); cygnal 434 cygnal/libamf/element.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = el.getProperties(); cygnal 439 cygnal/libamf/element.cpp outsize += cygnal::AMF_PROP_HEADER_SIZE; cygnal 441 cygnal/libamf/element.cpp outsize += cygnal::AMF_HEADER_SIZE; cygnal 1572 cygnal/libamf/element.cpp boost::shared_ptr<cygnal::Element> cygnal 36 cygnal/libamf/element.h namespace cygnal cygnal 257 cygnal/libamf/element.h Element &makeNumber(boost::shared_ptr<cygnal::Buffer> buf); cygnal 353 cygnal/libamf/element.h Element &makeObject(std::vector<boost::shared_ptr<cygnal::Element> > &data); cygnal 362 cygnal/libamf/element.h Element &makeObject(const std::string &name, std::vector<boost::shared_ptr<cygnal::Element> > &data); cygnal 410 cygnal/libamf/element.h Element &makeECMAArray(std::vector<boost::shared_ptr<cygnal::Element> > &data); cygnal 419 cygnal/libamf/element.h Element &makeECMAArray(const std::string &name, std::vector<boost::shared_ptr<cygnal::Element> > &data); cygnal 444 cygnal/libamf/element.h Element &makeStrictArray(std::vector<boost::shared_ptr<cygnal::Element> > &data); cygnal 453 cygnal/libamf/element.h Element &makeStrictArray(const std::string &name, std::vector<boost::shared_ptr<cygnal::Element> > &data); cygnal 576 cygnal/libamf/element.h bool operator==(boost::shared_ptr<cygnal::Element> ); cygnal 595 cygnal/libamf/element.h boost::shared_ptr<cygnal::Element> operator[](size_t index); cygnal 746 cygnal/libamf/element.h size_t calculateSize(cygnal::Element &el) const; cygnal 773 cygnal/libamf/element.h boost::shared_ptr<cygnal::Buffer> _buffer; cygnal 64 cygnal/libamf/flv.cpp boost::shared_ptr<cygnal::Buffer> cygnal 68 cygnal/libamf/flv.cpp boost::shared_ptr<cygnal::Buffer> buf(new Buffer(sizeof(Flv::flv_header_t))); cygnal 131 cygnal/libamf/flv.cpp boost::shared_ptr<cygnal::Element> cygnal 137 cygnal/libamf/flv.cpp boost::shared_ptr<cygnal::Element> cygnal 309 cygnal/libamf/flv.cpp boost::shared_ptr<cygnal::Element> cygnal 313 cygnal/libamf/flv.cpp std::vector<boost::shared_ptr<cygnal::Element> >::iterator ait; cygnal 316 cygnal/libamf/flv.cpp boost::shared_ptr<cygnal::Element> el = (*(ait)); cygnal 323 cygnal/libamf/flv.cpp boost::shared_ptr<cygnal::Element> el; cygnal 332 cygnal/libamf/flv.cpp std::vector<boost::shared_ptr<cygnal::Element> >::iterator ait; cygnal 336 cygnal/libamf/flv.cpp boost::shared_ptr<cygnal::Element> el = (*(ait)); cygnal 36 cygnal/libamf/flv.h namespace cygnal cygnal 170 cygnal/libamf/flv.h boost::shared_ptr<cygnal::Buffer> encodeHeader(boost::uint8_t type); cygnal 177 cygnal/libamf/flv.h boost::shared_ptr<flv_header_t> decodeHeader(boost::shared_ptr<cygnal::Buffer> buf) { return decodeHeader(buf->reference()); }; cygnal 186 cygnal/libamf/flv.h boost::shared_ptr<cygnal::Element> decodeMetaData(boost::shared_ptr<cygnal::Buffer> buf); cygnal 196 cygnal/libamf/flv.h boost::shared_ptr<cygnal::Element> decodeMetaData(boost::uint8_t *data, size_t size); cygnal 217 cygnal/libamf/flv.h boost::shared_ptr<flv_tag_t> decodeTagHeader(boost::shared_ptr<cygnal::Buffer> &buf) { return decodeTagHeader(buf->reference()); }; cygnal 226 cygnal/libamf/flv.h boost::shared_ptr<cygnal::Element> findProperty(const std::string &name); cygnal 233 cygnal/libamf/flv.h void setProperties(std::vector<boost::shared_ptr<cygnal::Element> > array) cygnal 261 cygnal/libamf/flv.h std::vector<boost::shared_ptr<cygnal::Element> > _properties; cygnal 266 cygnal/libamf/flv.h boost::shared_ptr<cygnal::Element> _metadata; cygnal 468 cygnal/libamf/lcshm.cpp boost::shared_ptr<cygnal::Buffer> buf1 = AMF::encodeString(con); cygnal 474 cygnal/libamf/lcshm.cpp boost::shared_ptr<cygnal::Buffer> buf2 = AMF::encodeString(protocol); cygnal 478 cygnal/libamf/lcshm.cpp boost::shared_ptr<cygnal::Buffer> buf3 = AMF::encodeString(host); cygnal 599 cygnal/libamf/lcshm.cpp std::vector<cygnal::Element* >::iterator iter; cygnal 644 cygnal/libamf/lcshm.cpp boost::shared_ptr<cygnal::Buffer> buf1 = AMF::encodeString(name); cygnal 649 cygnal/libamf/lcshm.cpp boost::shared_ptr<cygnal::Buffer> buf2 = AMF::encodeString(protocol); cygnal 653 cygnal/libamf/lcshm.cpp boost::shared_ptr<cygnal::Buffer> buf3 = AMF::encodeString(domainname); cygnal 35 cygnal/libamf/lcshm.h namespace cygnal cygnal 132 cygnal/libamf/lcshm.h std::vector<boost::shared_ptr<cygnal::Element> > data; // this can be any AMF data type cygnal 195 cygnal/libamf/lcshm.h std::vector< cygnal::Element* >& data); cygnal 206 cygnal/libamf/lcshm.h void recv(std::string &name, std::string &dataname, boost::shared_ptr<cygnal::Element> data); cygnal 214 cygnal/libamf/lcshm.h std::vector<boost::shared_ptr<cygnal::Element> > parseBody(boost::uint8_t *data); cygnal 256 cygnal/libamf/lcshm.h void addObject(boost::shared_ptr<cygnal::Element> el) { _amfobjs.push_back(el); }; cygnal 266 cygnal/libamf/lcshm.h std::vector<boost::shared_ptr<cygnal::Element> > getElements() { return _amfobjs; }; cygnal 300 cygnal/libamf/lcshm.h std::vector<boost::shared_ptr<cygnal::Element> > _amfobjs; cygnal 255 cygnal/libamf/sol.cpp vector<boost::shared_ptr<cygnal::Element> >::iterator ita; cygnal 265 cygnal/libamf/sol.cpp boost::shared_ptr<cygnal::Element> el = (*(ita)); cygnal 277 cygnal/libamf/sol.cpp boost::shared_ptr<cygnal::Buffer> var = amf_obj.encodeProperty(el); cygnal 439 cygnal/libamf/sol.cpp boost::shared_ptr<cygnal::Element> el; cygnal 465 cygnal/libamf/sol.cpp vector<boost::shared_ptr<cygnal::Element> >::iterator ita; cygnal 467 cygnal/libamf/sol.cpp boost::shared_ptr<cygnal::Element> oldel = (*(ita)); cygnal 490 cygnal/libamf/sol.cpp vector<boost::shared_ptr<cygnal::Element> >::iterator it; cygnal 497 cygnal/libamf/sol.cpp boost::shared_ptr<cygnal::Element> el = (*(it)); cygnal 43 cygnal/libamf/sol.h namespace cygnal cygnal 141 cygnal/libamf/sol.h std::vector<boost::shared_ptr<cygnal::Element> > &getElements() { return _amfobjs; } cygnal 182 cygnal/libamf/sol.h bool updateSO(boost::shared_ptr<cygnal::Element> &el); cygnal 183 cygnal/libamf/sol.h bool updateSO(int index, boost::shared_ptr<cygnal::Element> &el); cygnal 104 cygnal/libnet/cache.h cygnal::AMF::filetype_e _filetype; // FIXME: this shouldn't be here still cygnal 114 cygnal/libnet/cque.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer); cygnal 121 cygnal/libnet/cque.cpp boost::shared_ptr<cygnal::Buffer> cygnal 125 cygnal/libnet/cque.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 138 cygnal/libnet/cque.cpp boost::shared_ptr<cygnal::Buffer> cygnal 146 cygnal/libnet/cque.cpp return boost::shared_ptr<cygnal::Buffer>(); cygnal 163 cygnal/libnet/cque.cpp deque<boost::shared_ptr<cygnal::Buffer> >::iterator it; cygnal 164 cygnal/libnet/cque.cpp deque<boost::shared_ptr<cygnal::Buffer> >::iterator start; cygnal 165 cygnal/libnet/cque.cpp deque<boost::shared_ptr<cygnal::Buffer> >::iterator stop; cygnal 167 cygnal/libnet/cque.cpp boost::shared_ptr<cygnal::Buffer> ptr; cygnal 186 cygnal/libnet/cque.cpp deque<boost::shared_ptr<cygnal::Buffer> >::iterator it; cygnal 189 cygnal/libnet/cque.cpp boost::shared_ptr<cygnal::Buffer> ptr = *(it); cygnal 200 cygnal/libnet/cque.cpp boost::shared_ptr<cygnal::Buffer> cygnal 208 cygnal/libnet/cque.cpp boost::shared_ptr<cygnal::Buffer> cygnal 227 cygnal/libnet/cque.cpp if (sz < cygnal::NETBUFSIZE) { cygnal 235 cygnal/libnet/cque.cpp boost::shared_ptr<cygnal::Buffer> newbuf(new cygnal::Buffer(totalsize)); cygnal 263 cygnal/libnet/cque.cpp deque<boost::shared_ptr<cygnal::Buffer> >::iterator it; cygnal 268 cygnal/libnet/cque.cpp boost::shared_ptr<cygnal::Buffer> ptr = *(it); cygnal 53 cygnal/libnet/cque.h bool push(boost::shared_ptr<cygnal::Buffer> data); cygnal 55 cygnal/libnet/cque.h boost::shared_ptr<cygnal::Buffer> DSOEXPORT pop(); cygnal 57 cygnal/libnet/cque.h boost::shared_ptr<cygnal::Buffer> DSOEXPORT peek(); cygnal 67 cygnal/libnet/cque.h void remove(boost::shared_ptr<cygnal::Buffer> begin, boost::shared_ptr<cygnal::Buffer> end); cygnal 70 cygnal/libnet/cque.h void remove(boost::shared_ptr<cygnal::Buffer> it); cygnal 73 cygnal/libnet/cque.h boost::shared_ptr<cygnal::Buffer> DSOEXPORT merge(boost::shared_ptr<cygnal::Buffer> begin); cygnal 74 cygnal/libnet/cque.h boost::shared_ptr<cygnal::Buffer> DSOEXPORT merge(); cygnal 76 cygnal/libnet/cque.h boost::shared_ptr<cygnal::Buffer> operator[] (int index) { return _que[index]; }; cygnal 510 cygnal/libnet/diskstream.cpp _flv.reset(new cygnal::Flv); cygnal 511 cygnal/libnet/diskstream.cpp boost::shared_ptr<cygnal::Flv::flv_header_t> head = _flv->decodeHeader(ptr); cygnal 512 cygnal/libnet/diskstream.cpp ptr += sizeof(cygnal::Flv::flv_header_t); cygnal 513 cygnal/libnet/diskstream.cpp ptr += sizeof(cygnal::Flv::previous_size_t); cygnal 514 cygnal/libnet/diskstream.cpp boost::shared_ptr<cygnal::Flv::flv_tag_t> tag = _flv->decodeTagHeader(ptr); cygnal 515 cygnal/libnet/diskstream.cpp ptr += sizeof(cygnal::Flv::flv_tag_t); cygnal 517 cygnal/libnet/diskstream.cpp if (tag->type == cygnal::Flv::TAG_METADATA) { cygnal 518 cygnal/libnet/diskstream.cpp boost::shared_ptr<cygnal::Element> metadata = _flv->decodeMetaData(ptr, bodysize); cygnal 91 cygnal/libnet/diskstream.h DSOEXPORT DiskStream(const std::string &filespec, cygnal::Buffer &buf); cygnal 203 cygnal/libnet/diskstream.h DSOEXPORT bool writeToDisk(const std::string &filespec, cygnal::Buffer &data); cygnal 356 cygnal/libnet/diskstream.h boost::shared_ptr<cygnal::Flv> _flv; cygnal 361 cygnal/libnet/http.cpp boost::shared_ptr<cygnal::Buffer> buf(_que.peek()); cygnal 416 cygnal/libnet/http.cpp boost::shared_ptr<cygnal::Buffer> buf(_que.pop()); cygnal 454 cygnal/libnet/http.cpp cygnal::Buffer &reply = formatHeader(filestream->getFileType(), cygnal 518 cygnal/libnet/http.cpp boost::shared_ptr<cygnal::Buffer> buf(_que.pop()); cygnal 528 cygnal/libnet/http.cpp boost::shared_ptr<cygnal::Buffer> content(new cygnal::Buffer(length)); cygnal 551 cygnal/libnet/http.cpp boost::shared_ptr<cygnal::Element> el = amf.extractAMF(content.reference(), content.end()); cygnal 566 cygnal/libnet/http.cpp vector<boost::shared_ptr<cygnal::Element> > headers = parseEchoRequest(*content); cygnal 573 cygnal/libnet/http.cpp cygnal::Buffer &reply = formatEchoResponse(headers[1]->getName(), *headers[3]); cygnal 580 cygnal/libnet/http.cpp cygnal::Buffer &reply = formatHeader(_filetype, _filesize, HTTP::OK); cygnal 757 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 765 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 775 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 782 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 959 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 994 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 1003 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 1014 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 1022 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 1037 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 1044 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 1115 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 1134 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 1141 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 1149 cygnal/libnet/http.cpp cygnal::Buffer fixme("00 00 00 00 00 01"); cygnal 1150 cygnal/libnet/http.cpp cygnal::Buffer fixme2("ff ff ff ff"); cygnal 1171 cygnal/libnet/http.cpp boost::shared_ptr<cygnal::Buffer> res = cygnal::AMF::encodeString(result); cygnal 1175 cygnal/libnet/http.cpp boost::shared_ptr<cygnal::Buffer> null = cygnal::AMF::encodeString("null"); cygnal 1181 cygnal/libnet/http.cpp cygnal::Element::amf0_type_e type = static_cast<cygnal::Element::amf0_type_e>(*data); cygnal 1182 cygnal/libnet/http.cpp if ((type == cygnal::Element::UNSUPPORTED_AMF0) cygnal 1183 cygnal/libnet/http.cpp || (type == cygnal::Element::NULL_AMF0)) { cygnal 1186 cygnal/libnet/http.cpp } else if (type == cygnal::Element::UNDEFINED_AMF0) { cygnal 1187 cygnal/libnet/http.cpp _buffer += cygnal::Element::NULL_AMF0; cygnal 1198 cygnal/libnet/http.cpp cygnal::Buffer & cygnal 1377 cygnal/libnet/http.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 1386 cygnal/libnet/http.cpp buf.reset(new cygnal::Buffer(total+2)); cygnal 1412 cygnal/libnet/http.cpp buf.reset(new cygnal::Buffer(pktsize+2)); cygnal 1442 cygnal/libnet/http.cpp cygnal::Buffer tmpbuf(start - buf->reference()); cygnal 1497 cygnal/libnet/http.cpp size = cygnal::NETBUFSIZE; cygnal 1504 cygnal/libnet/http.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(size)); cygnal 1523 cygnal/libnet/http.cpp if (ret < static_cast<int>(cygnal::NETBUFSIZE)) { cygnal 134 cygnal/libnet/http.h bool checkRequestFields(cygnal::Buffer &buf); cygnal 135 cygnal/libnet/http.h bool checkEntityFields(cygnal::Buffer &buf); cygnal 136 cygnal/libnet/http.h bool checkGeneralFields(cygnal::Buffer &buf); cygnal 139 cygnal/libnet/http.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(cygnal::Buffer &buf) { return parseEchoRequest(buf.reference(), buf.size()); }; cygnal 140 cygnal/libnet/http.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(boost::uint8_t *buf, size_t size); cygnal 148 cygnal/libnet/http.h boost::uint8_t *processHeaderFields(cygnal::Buffer *buf); cygnal 163 cygnal/libnet/http.h boost::shared_ptr<cygnal::Buffer> formatServerReply(http_status_e code); cygnal 164 cygnal/libnet/http.h cygnal::Buffer &formatGetReply(DiskStream::filetype_e type, size_t size, http_status_e code); cygnal 165 cygnal/libnet/http.h cygnal::Buffer &formatGetReply(size_t size, http_status_e code); cygnal 166 cygnal/libnet/http.h cygnal::Buffer &formatGetReply(http_status_e code); cygnal 167 cygnal/libnet/http.h cygnal::Buffer &formatPostReply(rtmpt_cmd_e code); cygnal 188 cygnal/libnet/http.h cygnal::Buffer &formatCommon(const std::string &data); cygnal 190 cygnal/libnet/http.h cygnal::Buffer &formatHeader(DiskStream::filetype_e type, size_t filesize, cygnal 192 cygnal/libnet/http.h cygnal::Buffer &formatHeader(size_t filesize, http_status_e type); cygnal 193 cygnal/libnet/http.h cygnal::Buffer &formatHeader(http_status_e type); cygnal 194 cygnal/libnet/http.h cygnal::Buffer &formatRequest(const std::string &url, http_method_e req); cygnal 196 cygnal/libnet/http.h cygnal::Buffer &formatEchoResponse(const std::string &num, cygnal::Element &el); cygnal 197 cygnal/libnet/http.h cygnal::Buffer &formatEchoResponse(const std::string &num, cygnal::Buffer &data); cygnal 198 cygnal/libnet/http.h cygnal::Buffer &formatEchoResponse(const std::string &num, boost::uint8_t *data, size_t size); cygnal 200 cygnal/libnet/http.h cygnal::Buffer &formatMethod(const std::string &data) cygnal 202 cygnal/libnet/http.h cygnal::Buffer &formatDate(); cygnal 203 cygnal/libnet/http.h cygnal::Buffer &formatServer(); cygnal 204 cygnal/libnet/http.h cygnal::Buffer &formatServer(const std::string &data); cygnal 205 cygnal/libnet/http.h cygnal::Buffer &formatReferer(const std::string &data) cygnal 207 cygnal/libnet/http.h cygnal::Buffer &formatConnection(const std::string &data) cygnal 209 cygnal/libnet/http.h cygnal::Buffer &formatKeepAlive(const std::string &data) cygnal 211 cygnal/libnet/http.h cygnal::Buffer &formatContentLength(); cygnal 212 cygnal/libnet/http.h cygnal::Buffer &formatContentLength(boost::uint32_t filesize); cygnal 213 cygnal/libnet/http.h cygnal::Buffer &formatContentType(); cygnal 214 cygnal/libnet/http.h cygnal::Buffer &formatContentType(DiskStream::filetype_e type); cygnal 215 cygnal/libnet/http.h cygnal::Buffer &formatHost(const std::string &data) cygnal 217 cygnal/libnet/http.h cygnal::Buffer &formatAgent(const std::string &data) cygnal 219 cygnal/libnet/http.h cygnal::Buffer &formatAcceptRanges(const std::string &data) cygnal 221 cygnal/libnet/http.h cygnal::Buffer &formatLastModified(); cygnal 222 cygnal/libnet/http.h cygnal::Buffer &formatLastModified(const std::string &data) cygnal 224 cygnal/libnet/http.h cygnal::Buffer &formatEtag(const std::string &data) cygnal 226 cygnal/libnet/http.h cygnal::Buffer &formatLanguage(const std::string &data) cygnal 228 cygnal/libnet/http.h cygnal::Buffer &formatCharset(const std::string &data) cygnal 230 cygnal/libnet/http.h cygnal::Buffer &formatEncoding(const std::string &data) cygnal 232 cygnal/libnet/http.h cygnal::Buffer &formatTE(const std::string &data) cygnal 243 cygnal/libnet/http.h cygnal::Buffer &getBuffer() { return _buffer; }; cygnal 277 cygnal/libnet/http.h int sendMsg(boost::shared_ptr<cygnal::Buffer> &buf) cygnal 300 cygnal/libnet/http.h boost::shared_ptr<cygnal::Buffer> DSOEXPORT popChunk() { return _que.pop(); }; cygnal 302 cygnal/libnet/http.h boost::shared_ptr<cygnal::Buffer> DSOEXPORT peekChunk() { return _que.peek(); }; cygnal 306 cygnal/libnet/http.h boost::shared_ptr<cygnal::Buffer> DSOEXPORT mergeChunks() { return _que.merge(); }; cygnal 314 cygnal/libnet/http.h http_method_e extractCommand(cygnal::Buffer &data) cygnal 321 cygnal/libnet/http.h cygnal::Buffer _buffer; cygnal 773 cygnal/libnet/network.cpp boost::shared_ptr<cygnal::Buffer> cygnal 777 cygnal/libnet/network.cpp boost::shared_ptr<cygnal::Buffer> buffer(new cygnal::Buffer); cygnal 65 cygnal/libnet/network.h namespace cygnal { cygnal 141 cygnal/libnet/network.h cygnal::Buffer *buffer; cygnal 207 cygnal/libnet/network.h boost::shared_ptr<cygnal::Buffer> readNet(); cygnal 208 cygnal/libnet/network.h int readNet(cygnal::Buffer &buffer); cygnal 209 cygnal/libnet/network.h int readNet(int fd, cygnal::Buffer &buffer); cygnal 210 cygnal/libnet/network.h int readNet(int fd, cygnal::Buffer *buffer); cygnal 211 cygnal/libnet/network.h int readNet(cygnal::Buffer &buffer, int timeout); cygnal 212 cygnal/libnet/network.h int readNet(int fd, cygnal::Buffer &buffer, int timeout); cygnal 229 cygnal/libnet/network.h int writeNet(cygnal::Buffer *buffer); cygnal 230 cygnal/libnet/network.h int writeNet(cygnal::Buffer &buffer); cygnal 231 cygnal/libnet/network.h int writeNet(int fd, cygnal::Buffer *buffer); cygnal 232 cygnal/libnet/network.h int writeNet(int fd, cygnal::Buffer &buffer); cygnal 243 cygnal/libnet/rtmp.cpp cygnal::Element & cygnal 375 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 379 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(1)); cygnal 391 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 398 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 401 cygnal/libnet/rtmp.cpp buf.reset(new cygnal::Buffer(1)); cygnal 404 cygnal/libnet/rtmp.cpp buf.reset(new cygnal::Buffer(4)); cygnal 407 cygnal/libnet/rtmp.cpp buf.reset(new cygnal::Buffer(8)); cygnal 410 cygnal/libnet/rtmp.cpp buf.reset(new cygnal::Buffer(12)); cygnal 504 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Element> el = amf.extractAMF(ptr, tooFar); cygnal 511 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Element> el = amf.extractProperty(ptr, tooFar); cygnal 524 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Element> el = amf.extractProperty(ptr, tooFar); cygnal 531 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Element> url = getProperty("tcUrl"); cygnal 532 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Element> file = getProperty("swfUrl"); cygnal 533 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Element> app = getProperty("app"); cygnal 557 cygnal/libnet/rtmp.cpp cygnal::Element el = it->second; cygnal 682 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 688 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 690 cygnal/libnet/rtmp.cpp buf.reset(new cygnal::Buffer(sizeof(boost::uint16_t) * 5)); cygnal 692 cygnal/libnet/rtmp.cpp buf.reset(new cygnal::Buffer(sizeof(boost::uint16_t) * 3)); cygnal 708 cygnal/libnet/rtmp.cpp cygnal::swapBytes(&swapped, sizeof(boost::uint32_t)); cygnal 712 cygnal/libnet/rtmp.cpp buf.reset(new cygnal::Buffer(sizeof(boost::uint16_t) * 5)); cygnal 718 cygnal/libnet/rtmp.cpp cygnal::swapBytes(&swapped, sizeof(boost::uint32_t)); cygnal 732 cygnal/libnet/rtmp.cpp cygnal::AMF amf_obj; cygnal 739 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Element> name = amf_obj.extractAMF(ptr, tooFar); cygnal 741 cygnal/libnet/rtmp.cpp ptr += name->getDataSize() + cygnal::AMF_HEADER_SIZE; // skip the length bytes too cygnal 750 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Element> streamid = amf_obj.extractAMF(ptr, tooFar); cygnal 755 cygnal/libnet/rtmp.cpp if (streamid->getType() == cygnal::Element::NUMBER_AMF0) { cygnal 756 cygnal/libnet/rtmp.cpp ptr += cygnal::AMF0_NUMBER_SIZE + 1; cygnal 781 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Element> el = amf_obj.extractAMF(ptr, tooFar); cygnal 805 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 811 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(sizeof(boost::uint32_t))); cygnal 826 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 831 cygnal/libnet/rtmp.cpp return boost::shared_ptr<cygnal::Buffer>((cygnal::Buffer*)0); cygnal 841 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 846 cygnal/libnet/rtmp.cpp return boost::shared_ptr<cygnal::Buffer>((cygnal::Buffer*)0); cygnal 856 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 861 cygnal/libnet/rtmp.cpp return boost::shared_ptr<cygnal::Buffer>((cygnal::Buffer*)0); cygnal 871 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 876 cygnal/libnet/rtmp.cpp return boost::shared_ptr<cygnal::Buffer>((cygnal::Buffer*)0); cygnal 886 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 891 cygnal/libnet/rtmp.cpp return boost::shared_ptr<cygnal::Buffer>((cygnal::Buffer*)0); cygnal 901 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 906 cygnal/libnet/rtmp.cpp return boost::shared_ptr<cygnal::Buffer>((cygnal::Buffer*)0); cygnal 916 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 921 cygnal/libnet/rtmp.cpp return boost::shared_ptr<cygnal::Buffer>((cygnal::Buffer*)0); cygnal 931 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 936 cygnal/libnet/rtmp.cpp return boost::shared_ptr<cygnal::Buffer>((cygnal::Buffer*)0); cygnal 1000 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> bigbuf(new cygnal::Buffer(size+pkts+100)); cygnal 1004 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> head = encodeHeader(channel, head_size, cygnal 1010 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cont_head = encodeHeader(channel, RTMP::HEADER_1); cygnal 1012 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cont_head(new cygnal::Buffer(1)); cygnal 1100 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> head = encodeHeader(amf_index, head_size, total_size, cygnal 1112 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 1192 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> frame; cygnal 1248 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 1259 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> cygnal 1268 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(3074)); cygnal 1334 cygnal/libnet/rtmp.cpp boost::shared_ptr<cygnal::Buffer> chunk; cygnal 1366 cygnal/libnet/rtmp.cpp chunk.reset(new cygnal::Buffer(rthead->bodysize + rthead->head_size + 1)); cygnal 1385 cygnal/libnet/rtmp.cpp chunk.reset(new cygnal::Buffer(rthead->bodysize + rthead->head_size)); cygnal 327 cygnal/libnet/rtmp.h boost::shared_ptr<rtmp_head_t> decodeHeader(cygnal::Buffer &data); cygnal 329 cygnal/libnet/rtmp.h boost::shared_ptr<cygnal::Buffer> encodeHeader(int amf_index, cygnal 333 cygnal/libnet/rtmp.h boost::shared_ptr<cygnal::Buffer> encodeHeader(int amf_index, cygnal 336 cygnal/libnet/rtmp.h void addProperty(cygnal::Element &el); cygnal 337 cygnal/libnet/rtmp.h void addProperty(char *name, cygnal::Element &el); cygnal 338 cygnal/libnet/rtmp.h void addProperty(std::string &name, cygnal::Element &el); cygnal 339 cygnal/libnet/rtmp.h cygnal::Element &getProperty(const std::string &name); cygnal 353 cygnal/libnet/rtmp.h boost::shared_ptr<RTMPMsg> decodeMsgBody(cygnal::Buffer &buf); cygnal 356 cygnal/libnet/rtmp.h boost::shared_ptr<rtmp_ping_t> decodePing(cygnal::Buffer &buf); cygnal 359 cygnal/libnet/rtmp.h boost::shared_ptr<user_event_t> decodeUserControl(cygnal::Buffer &buf); cygnal 360 cygnal/libnet/rtmp.h virtual boost::shared_ptr<cygnal::Buffer> encodeUserControl(user_control_e, boost::uint32_t data); cygnal 364 cygnal/libnet/rtmp.h virtual boost::shared_ptr<cygnal::Buffer> encodeChunkSize(int size); cygnal 367 cygnal/libnet/rtmp.h virtual boost::shared_ptr<cygnal::Buffer> encodeBytesRead(); cygnal 369 cygnal/libnet/rtmp.h virtual boost::shared_ptr<cygnal::Buffer> encodeServer(); cygnal 372 cygnal/libnet/rtmp.h virtual boost::shared_ptr<cygnal::Buffer> encodeClient(); cygnal 375 cygnal/libnet/rtmp.h virtual boost::shared_ptr<cygnal::Buffer> encodeAudioData(); cygnal 378 cygnal/libnet/rtmp.h virtual boost::shared_ptr<cygnal::Buffer> encodeVideoData(); cygnal 381 cygnal/libnet/rtmp.h virtual boost::shared_ptr<cygnal::Buffer> encodeNotify(); cygnal 384 cygnal/libnet/rtmp.h virtual boost::shared_ptr<cygnal::Buffer> encodeSharedObj(); cygnal 387 cygnal/libnet/rtmp.h virtual boost::shared_ptr<cygnal::Buffer> encodeInvoke(); cygnal 393 cygnal/libnet/rtmp.h boost::shared_ptr<cygnal::Buffer> recvMsg(); cygnal 394 cygnal/libnet/rtmp.h boost::shared_ptr<cygnal::Buffer> recvMsg(int fd); cygnal 400 cygnal/libnet/rtmp.h bool sendMsg(cygnal::Buffer &data); cygnal 403 cygnal/libnet/rtmp.h RTMPMsg::rtmp_source_e routing, cygnal::Buffer &data); cygnal 406 cygnal/libnet/rtmp.h RTMPMsg::rtmp_source_e routing, cygnal::Buffer &data); cygnal 418 cygnal/libnet/rtmp.h RTMPMsg::rtmp_source_e routing, cygnal::Buffer &buf); cygnal 425 cygnal/libnet/rtmp.h boost::shared_ptr<queues_t> split(cygnal::Buffer &buf); cygnal 443 cygnal/libnet/rtmp.h cygnal::Buffer *_handshake; cygnal 455 cygnal/libnet/rtmp.h cygnal::Buffer _buffer; cygnal 82 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 90 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 100 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 169 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 176 cygnal/libnet/rtmp_client.cpp cygnal::AMF amf_obj; cygnal 178 cygnal/libnet/rtmp_client.cpp ElementSharedPtr connect(new cygnal::Element); cygnal 181 cygnal/libnet/rtmp_client.cpp ElementSharedPtr connum(new cygnal::Element); cygnal 188 cygnal/libnet/rtmp_client.cpp ElementSharedPtr obj(new cygnal::Element); cygnal 191 cygnal/libnet/rtmp_client.cpp ElementSharedPtr appnode(new cygnal::Element); cygnal 202 cygnal/libnet/rtmp_client.cpp ElementSharedPtr flashVer(new cygnal::Element); cygnal 206 cygnal/libnet/rtmp_client.cpp ElementSharedPtr swfUrlnode(new cygnal::Element); cygnal 212 cygnal/libnet/rtmp_client.cpp ElementSharedPtr tcUrlnode(new cygnal::Element); cygnal 216 cygnal/libnet/rtmp_client.cpp ElementSharedPtr fpad(new cygnal::Element); cygnal 220 cygnal/libnet/rtmp_client.cpp ElementSharedPtr audioCodecsnode(new cygnal::Element); cygnal 225 cygnal/libnet/rtmp_client.cpp ElementSharedPtr videoCodecsnode(new cygnal::Element); cygnal 230 cygnal/libnet/rtmp_client.cpp ElementSharedPtr videoFunctionnode(new cygnal::Element); cygnal 235 cygnal/libnet/rtmp_client.cpp ElementSharedPtr pageUrlnode(new cygnal::Element); cygnal 250 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> conobj = connect->encode(); cygnal 251 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> numobj = connum->encode(); cygnal 252 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> encobj = obj->encode(); cygnal 254 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(conobj->size() + numobj->size() + encobj->size())); cygnal 281 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> ncbuf = encodeConnect(); cygnal 289 cygnal/libnet/rtmp_client.cpp boost::scoped_ptr<cygnal::Buffer> newbuf(new cygnal::Buffer(ncbuf->size() + 5)); cygnal 305 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> head = encodeHeader(0x3, cygnal 311 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> handshake1 = handShakeRequest(); cygnal 317 cygnal/libnet/rtmp_client.cpp boost::scoped_ptr<cygnal::Buffer> handshake2(new cygnal::Buffer cygnal 341 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> response; cygnal 361 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 365 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Element> str(new cygnal::Element); cygnal 367 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> strobj = str->encode(); cygnal 370 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Element> num(new cygnal::Element); cygnal 372 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> numobj = num->encode(); cygnal 375 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Element> null(new cygnal::Element); cygnal 377 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> nullobj = null->encode(); cygnal 379 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> elobj = el.encode(); cygnal 383 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(totalsize)); cygnal 396 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 404 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Element> str(new cygnal::Element); cygnal 406 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> strobj = str->encode(); cygnal 408 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Element> num(new cygnal::Element); cygnal 410 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> numobj = num->encode(); cygnal 413 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Element> null(new cygnal::Element); cygnal 415 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> nullobj = null->encode(); cygnal 419 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(totalsize)); cygnal 434 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 441 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 448 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 461 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 467 cygnal/libnet/rtmp_client.cpp cygnal::Element str; cygnal 485 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> foo; cygnal 489 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> strobj = str.encode(); cygnal 492 cygnal/libnet/rtmp_client.cpp cygnal::Element strid; cygnal 494 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> stridobj = strid.encode(); cygnal 497 cygnal/libnet/rtmp_client.cpp cygnal::Element null; cygnal 499 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> nullobj = null.encode(); cygnal 503 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> boolobj; cygnal 505 cygnal/libnet/rtmp_client.cpp cygnal::Element boolean; cygnal 511 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> posobj; cygnal 513 cygnal/libnet/rtmp_client.cpp cygnal::Element seek; cygnal 521 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> fileobj; cygnal 523 cygnal/libnet/rtmp_client.cpp cygnal::Element filespec; cygnal 536 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(pktsize)); cygnal 549 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 556 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> handshake(new cygnal::Buffer(RTMP_HANDSHAKE_SIZE+1)); cygnal 587 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 592 cygnal/libnet/rtmp_client.cpp cygnal::Buffer data; cygnal 596 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> cygnal 610 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> handshake1(new cygnal::Buffer( cygnal 658 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> handshake2(new cygnal::Buffer( cygnal 724 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> response = recvMsg(); cygnal 761 cygnal/libnet/rtmp_client.cpp boost::shared_ptr<cygnal::Buffer> ptr = channel_q->pop(); cygnal 48 cygnal/libnet/rtmp_client.h boost::shared_ptr<cygnal::Buffer> clientFinish(); cygnal 49 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> clientFinish(cygnal::Buffer &data); cygnal 50 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> handShakeRequest(); cygnal 55 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> encodeConnect(); cygnal 56 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> encodeConnect(const char *uri); cygnal 57 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> encodeConnect(const char *uri, double audioCodecs, double videoCodecs, cygnal 59 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> encodeConnect(const char *app, cygnal 67 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> encodeStream(double id); cygnal 68 cygnal/libnet/rtmp_client.h boost::shared_ptr<cygnal::Buffer> encodeStreamOp(double id, rtmp_op_e op, bool flag); cygnal 69 cygnal/libnet/rtmp_client.h boost::shared_ptr<cygnal::Buffer> encodeStreamOp(double id, rtmp_op_e op, bool flag, double pos); cygnal 70 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> encodeStreamOp(double id, rtmp_op_e op, bool flag, const std::string &name); cygnal 71 cygnal/libnet/rtmp_client.h boost::shared_ptr<cygnal::Buffer> encodeStreamOp(double id, rtmp_op_e op, bool flag, const std::string &name, double pos); cygnal 78 cygnal/libnet/rtmp_client.h DSOEXPORT boost::shared_ptr<cygnal::Buffer> encodeEchoRequest(const std::string &method, double id, cygnal::Element &el); cygnal 129 cygnal/libnet/rtmp_msg.cpp vector<boost::shared_ptr<cygnal::Element> >::iterator pit; cygnal 130 cygnal/libnet/rtmp_msg.cpp vector<boost::shared_ptr<cygnal::Element> >::iterator cit; cygnal 133 cygnal/libnet/rtmp_msg.cpp boost::shared_ptr<cygnal::Element> el = (*(pit)); cygnal 134 cygnal/libnet/rtmp_msg.cpp std::vector<boost::shared_ptr<cygnal::Element> > props = el->getProperties(); cygnal 139 cygnal/libnet/rtmp_msg.cpp boost::shared_ptr<cygnal::Element> child = (*(cit)); cygnal 168 cygnal/libnet/rtmp_msg.cpp boost::shared_ptr<cygnal::Element> cygnal 176 cygnal/libnet/rtmp_msg.cpp boost::shared_ptr<cygnal::Element> el; cygnal 186 cygnal/libnet/rtmp_msg.cpp boost::shared_ptr<cygnal::Element> cygnal 193 cygnal/libnet/rtmp_msg.cpp boost::shared_ptr<cygnal::Element> el = (*(ait)); cygnal 194 cygnal/libnet/rtmp_msg.cpp boost::shared_ptr<cygnal::Element> prop = el->findProperty(name); cygnal 218 cygnal/libnet/rtmp_msg.cpp vector<boost::shared_ptr<cygnal::Element> >::iterator ait; cygnal 221 cygnal/libnet/rtmp_msg.cpp boost::shared_ptr<cygnal::Element> el = (*(ait)); cygnal 95 cygnal/libnet/rtmp_msg.h void addObject(boost::shared_ptr<cygnal::Element> el) { _amfobjs.push_back(el); }; cygnal 97 cygnal/libnet/rtmp_msg.h std::vector<boost::shared_ptr<cygnal::Element> > getElements() { return _amfobjs; }; cygnal 105 cygnal/libnet/rtmp_msg.h rtmp_status_e checkStatus(boost::shared_ptr<cygnal::Element> el); cygnal 112 cygnal/libnet/rtmp_msg.h boost::shared_ptr<cygnal::Element> operator[](size_t x); cygnal 113 cygnal/libnet/rtmp_msg.h boost::shared_ptr<cygnal::Element> at(size_t x) { return _amfobjs[x]; }; cygnal 121 cygnal/libnet/rtmp_msg.h DSOEXPORT boost::shared_ptr<cygnal::Element> findProperty(const std::string &name); cygnal 133 cygnal/libnet/rtmp_msg.h std::vector<boost::shared_ptr<cygnal::Element> > _amfobjs; cygnal 62 cygnal/libnet/sslclient.h int sslRead(cygnal::Buffer &buf); cygnal 67 cygnal/libnet/sslclient.h int sslWrite(cygnal::Buffer &buf); cygnal 32 cygnal/proc.h namespace cygnal cygnal 94 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> cygnal 111 cygnal/rtmp_server.cpp boost::scoped_ptr<cygnal::Element> nc; cygnal 112 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> pkt; cygnal 113 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> tcurl; cygnal 114 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> swfurl; cygnal 115 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> encoding; cygnal 121 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> handshake1 = RTMP::recvMsg(fd); cygnal 136 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> handshake2 = RTMP::recvMsg(fd); cygnal 150 cygnal/rtmp_server.cpp tcurl.reset(new cygnal::Element); cygnal 183 cygnal/rtmp_server.cpp boost::scoped_ptr<cygnal::Buffer> newptr(new cygnal::Buffer(qhead->bodysize)); cygnal 229 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> bwdone = encodeBWDone(2.0); cygnal 241 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> winsize(new cygnal::Buffer(sizeof(boost::uint32_t))); cygnal 255 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> ping_reset = cygnal 269 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> response = cygnal 297 cygnal/rtmp_server.cpp boost::scoped_ptr<cygnal::Buffer> zeros(new cygnal::Buffer(RTMP_HANDSHAKE_SIZE*2 cygnal 344 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 348 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 461 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> el1 = amf_obj.extractAMF(ptr, tooFar); cygnal 463 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> el2 = amf_obj.extractAMF(ptr, tooFar); cygnal 466 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> el; cygnal 492 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> el(new cygnal::Element); cygnal 506 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> el(new cygnal::Element); cygnal 612 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 620 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 627 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 635 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 676 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> level(new Element); cygnal 680 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> description(new Element); cygnal 684 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> code(new Element); cygnal 694 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> level(new Element); cygnal 698 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> description(new Element); cygnal 702 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> code(new Element); cygnal 708 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> level(new Element); cygnal 712 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> code(new Element); cygnal 716 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> description(new Element); cygnal 734 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> level(new Element); cygnal 738 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> code(new Element); cygnal 742 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> description(new Element); cygnal 750 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> details(new Element); cygnal 754 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> cid(new Element); cygnal 773 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> level(new Element); cygnal 777 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> code(new Element); cygnal 781 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> description(new Element); cygnal 789 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> details(new Element); cygnal 793 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> cid(new Element); cygnal 815 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> level(new Element); cygnal 819 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> code(new Element); cygnal 823 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> description(new Element); cygnal 831 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> details(new Element); cygnal 835 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> cid(new Element); cygnal 856 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> level(new Element); cygnal 860 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> description(new Element); cygnal 864 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> code(new Element); cygnal 900 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> id2(new Element); cygnal 914 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> strbuf = str->encode(); cygnal 915 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> numbuf = number->encode(); cygnal 916 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> topbuf = top.encode(notobject); cygnal 918 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> buf(new Buffer(strbuf->size() + numbuf->size() + topbuf->size())); cygnal 963 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> buf(new Buffer(sizeof(boost::uint16_t) * 3)); cygnal 1019 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 1034 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> enccmd = cmd.encode(); cygnal 1035 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> encnum = num.encode(); cygnal 1036 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> encnull = null.encode(); cygnal 1038 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(enccmd->size() cygnal 1049 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 1054 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> buf; cygnal 1058 cygnal/rtmp_server.cpp buf.reset(new cygnal::Buffer(size)); cygnal 1066 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 1075 cygnal/rtmp_server.cpp vector<boost::shared_ptr<cygnal::Element > > cygnal 1080 cygnal/rtmp_server.cpp vector<boost::shared_ptr<cygnal::Element > > headers; cygnal 1083 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> el1 = amf.extractAMF(ptr, ptr+size); cygnal 1088 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> el2 = amf.extractAMF(ptr, ptr+size); cygnal 1093 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> el3 = amf.extractAMF(ptr, ptr+size); cygnal 1098 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> el4 = amf.extractAMF(ptr, ptr+size); cygnal 1112 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 1116 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> data = amf::AMF::encodeElement(el); cygnal 1120 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 1127 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> cygnal 1142 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> encecho = echo.encode(); cygnal 1143 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> encidx = index.encode(); cygnal 1144 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> encnull = null.encode(); cygnal 1146 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> buf(new cygnal::Buffer(encecho->size() cygnal 1367 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> pkt; cygnal 1368 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> tcurl; cygnal 1369 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> swfurl; cygnal 1370 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> response; cygnal 1421 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> bufptr = que->at(i)->pop(); cygnal 1541 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Element> tcurl = nc->findProperty("tcUrl"); cygnal 1643 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> result = hand->readFromPlugin(); cygnal 1668 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> result = hand->readFromPlugin(); cygnal 1687 cygnal/rtmp_server.cpp boost::shared_ptr<cygnal::Buffer> ping_reset = cygnal 38 cygnal/rtmp_server.h namespace cygnal cygnal 59 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Element> processClientHandShake(int fd); cygnal 61 cygnal/rtmp_server.h bool packetSend(cygnal::Buffer &buf); cygnal 62 cygnal/rtmp_server.h bool packetRead(cygnal::Buffer &buf); cygnal 65 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeResult(gnash::RTMPMsg::rtmp_status_e status); cygnal 66 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeResult(gnash::RTMPMsg::rtmp_status_e status, const std::string &filename); cygnal 67 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeResult(gnash::RTMPMsg::rtmp_status_e status, const std::string &filename, double &transid); cygnal 68 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeResult(gnash::RTMPMsg::rtmp_status_e status, double &transid); cygnal 69 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeResult(gnash::RTMPMsg::rtmp_status_e status, const std::string &filename, double &transid, double &clientid); cygnal 72 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodePing(rtmp_ping_e type, boost::uint32_t milliseconds); cygnal 73 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodePing(rtmp_ping_e type); cygnal 75 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeAudio(boost::uint8_t *data, size_t size); cygnal 76 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeVideo(boost::uint8_t *data, size_t size); cygnal 79 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> encodeBWDone(double id); cygnal 82 cygnal/rtmp_server.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(cygnal::Buffer &buf) { return parseEchoRequest(buf.reference(), buf.size()); }; cygnal 83 cygnal/rtmp_server.h std::vector<boost::shared_ptr<cygnal::Element > > parseEchoRequest(boost::uint8_t *buf, size_t size); cygnal 85 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> formatEchoResponse(double num, cygnal::Element &el); cygnal 86 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> formatEchoResponse(double num, cygnal::Buffer &data); cygnal 87 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> formatEchoResponse(double num, boost::uint8_t *data, size_t size); cygnal 88 cygnal/rtmp_server.h void addReference(boost::uint16_t index, cygnal::Element &el) { _references[index] = el; }; cygnal 89 cygnal/rtmp_server.h cygnal::Element &getReference(boost::uint16_t index) { return _references[index]; }; cygnal 108 cygnal/rtmp_server.h size_t sendToClient(std::vector<int> &fds,cygnal::Buffer &data); cygnal 120 cygnal/rtmp_server.h boost::shared_ptr<cygnal::Buffer> serverFinish(int fd, cygnal 121 cygnal/rtmp_server.h cygnal::Buffer &handshake1, cygnal::Buffer &handshake2); cygnal 125 cygnal/rtmp_server.h bool handShakeResponse(int fd, cygnal::Buffer &buf); cygnal 137 cygnal/rtmp_server.h std::map<boost::uint16_t, cygnal::Element> _references; cygnal 30 cygnal/serverSO.h namespace cygnal { cygnal 36 cygnal/serverSO.h class DSOEXPORT ServerSO : public cygnal::SOL cygnal 52 cygnal/testsuite/cygnal.all/test_crc.cpp using namespace cygnal; cygnal 45 utilities/flvdumper.cpp using namespace cygnal; cygnal 198 utilities/flvdumper.cpp boost::shared_ptr<cygnal::Buffer> buf(new Buffer); cygnal 282 utilities/flvdumper.cpp boost::shared_ptr<cygnal::Element> metadata = flv.decodeMetaData(buf->reference(), bodysize); cygnal 198 utilities/soldumper.cpp cygnal::SOL sol;