Ignore:
Timestamp:
Mar 23, 2007 12:42:47 AM (13 years ago)
Author:
bennylp
Message:

ICE (work in progress): implemented ICE media transport

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/transport.h

    r974 r1097  
    2727 
    2828#include <pjmedia/types.h> 
     29#include <pjmedia/errno.h> 
    2930 
    3031/** 
     
    178179struct pjmedia_transport_op 
    179180{ 
     181    pj_status_t (*get_info)(pjmedia_transport *tp, 
     182                            pjmedia_sock_info *info); 
     183 
    180184    /** 
    181185     * This function is called by the stream when the transport is about 
     
    266270 
    267271 
     272PJ_INLINE(pj_status_t) pjmedia_transport_get_info(pjmedia_transport *tp, 
     273                                                  pjmedia_sock_info *info) 
     274{ 
     275    if (tp->op->get_info) 
     276        return (*tp->op->get_info)(tp, info); 
     277    else 
     278        return PJ_ENOTSUP; 
     279} 
     280 
    268281 
    269282/** 
Note: See TracChangeset for help on using the changeset viewer.