| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
#include <pj/sock_qos.h> |
| 19 |
#include <pj/errno.h> |
| 20 |
#include <pj/log.h> |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
#if defined(PJ_QOS_IMPLEMENTATION) && PJ_QOS_IMPLEMENTATION==PJ_QOS_DUMMY |
| 26 |
|
| 27 |
#define THIS_FILE "sock_qos_dummy.c" |
| 28 |
|
| 29 |
|
| 30 |
PJ_DEF(pj_status_t) pj_sock_set_qos_params(pj_sock_t sock, |
| 31 |
pj_qos_params *param) |
| 32 |
{ |
| 33 |
PJ_UNUSED_ARG(sock); |
| 34 |
PJ_UNUSED_ARG(param); |
| 35 |
|
| 36 |
PJ_LOG(4,(THIS_FILE, "pj_sock_set_qos_params() is not implemented " |
| 37 |
"for this platform")); |
| 38 |
return PJ_ENOTSUP; |
| 39 |
} |
| 40 |
|
| 41 |
PJ_DEF(pj_status_t) pj_sock_set_qos_type(pj_sock_t sock, |
| 42 |
pj_qos_type type) |
| 43 |
{ |
| 44 |
PJ_UNUSED_ARG(sock); |
| 45 |
PJ_UNUSED_ARG(type); |
| 46 |
|
| 47 |
PJ_LOG(4,(THIS_FILE, "pj_sock_set_qos_type() is not implemented " |
| 48 |
"for this platform")); |
| 49 |
return PJ_ENOTSUP; |
| 50 |
} |
| 51 |
|
| 52 |
|
| 53 |
PJ_DEF(pj_status_t) pj_sock_get_qos_params(pj_sock_t sock, |
| 54 |
pj_qos_params *p_param) |
| 55 |
{ |
| 56 |
PJ_UNUSED_ARG(sock); |
| 57 |
PJ_UNUSED_ARG(p_param); |
| 58 |
|
| 59 |
PJ_LOG(4,(THIS_FILE, "pj_sock_get_qos_params() is not implemented " |
| 60 |
"for this platform")); |
| 61 |
return PJ_ENOTSUP; |
| 62 |
} |
| 63 |
|
| 64 |
PJ_DEF(pj_status_t) pj_sock_get_qos_type(pj_sock_t sock, |
| 65 |
pj_qos_type *p_type) |
| 66 |
{ |
| 67 |
PJ_UNUSED_ARG(sock); |
| 68 |
PJ_UNUSED_ARG(p_type); |
| 69 |
|
| 70 |
PJ_LOG(4,(THIS_FILE, "pj_sock_get_qos_type() is not implemented " |
| 71 |
"for this platform")); |
| 72 |
return PJ_ENOTSUP; |
| 73 |
} |
| 74 |
|
| 75 |
#endif |