Changeset 5719


Ignore:
Timestamp:
Jan 5, 2018 9:48:31 AM (7 years ago)
Author:
nanang
Message:

Misc (re #2059): Configurable number of socket options (PJ_MAX_SOCKOPT_PARAMS macro).

Location:
pjproject/trunk/pjlib/include/pj
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/config.h

    r5692 r5719  
    964964#   define PJ_SOCK_DISABLE_WSAECONNRESET    1 
    965965#endif 
     966 
     967 
     968/** 
     969 * Maximum number of socket options in pj_sockopt_params. 
     970 * 
     971 * Default: 4 
     972 */ 
     973#ifndef PJ_MAX_SOCKOPT_PARAMS 
     974#   define PJ_MAX_SOCKOPT_PARAMS            4 
     975#endif 
     976 
    966977 
    967978 
  • pjproject/trunk/pjlib/include/pj/sock.h

    r5636 r5719  
    630630} pj_ip_mreq; 
    631631 
    632 /* Maximum number of socket options. */ 
    633 #define PJ_MAX_SOCKOPT_PARAMS 4 
    634632 
    635633/** 
Note: See TracChangeset for help on using the changeset viewer.