Home
last modified time | relevance | path

Searched refs:msgh (Results 1 – 25 of 249) sorted by relevance

12345678910

/dports/news/husky/husky-1.9.20191207/smapi/src/
H A Dapi_jam.c491 if (offset > (msgh->Hdr.TxtLen+msgh->lclen)) offset = msgh->Hdr.TxtLen+msgh->lclen; in JamReadMsg()
529 if (clen > msgh->clen) clen = msgh->clen; in JamReadMsg()
1043 return (msgh->Hdr.TxtLen+msgh->lclen); in JamGetTextLen()
1367 msgh->seek_hdr = msgh->Idx.HdrOffset; in Jam_OpenMsg()
2167 if (!(msgh->ctrl && msgh->lctrl)) { in DecodeSubf()
2174 *(msgh->ctrl)=*(msgh->lctrl)='\0'; in DecodeSubf()
2257 msgh->clen = pctrl -(char *)msgh->ctrl; in DecodeSubf()
2258 msgh->lclen = plctrl-(char *)msgh->lctrl; in DecodeSubf()
2261 msgh->ctrl = (unsigned char *)realloc(msgh->ctrl, msgh->clen + 1); in DecodeSubf()
2262 msgh->lctrl = (unsigned char *)realloc(msgh->lctrl, msgh->lclen + 1); in DecodeSubf()
[all …]
H A Dapi_sdm.c209 MSGH *msgh; in SdmCloseArea() local
280 MSGH *msgh; in SdmOpenMsg() local
497 return msgh; in SdmOpenMsg()
518 pfree(msgh); in SdmCloseMsg()
722 if (!append && msgh->clen <= 0 && msgh->zplen == 0 && !msgh->sq->isecho) in SdmWriteMsg()
905 lseek(msgh->fd, msgh->cur_pos = pos, SEEK_SET); in SdmSetCurPos()
967 MSGH *msgh; in SdmGetHighWater() local
1055 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetTextLen()
1061 return (dword) (msgh->msg_len - msgh->msgtxt_start); in SdmGetTextLen()
1075 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetCtrlLen()
[all …]
/dports/news/husky-areafix/husky-areafix-1.9.20191207/smapi/src/
H A Dapi_jam.c491 if (offset > (msgh->Hdr.TxtLen+msgh->lclen)) offset = msgh->Hdr.TxtLen+msgh->lclen; in JamReadMsg()
529 if (clen > msgh->clen) clen = msgh->clen; in JamReadMsg()
1043 return (msgh->Hdr.TxtLen+msgh->lclen); in JamGetTextLen()
1367 msgh->seek_hdr = msgh->Idx.HdrOffset; in Jam_OpenMsg()
2167 if (!(msgh->ctrl && msgh->lctrl)) { in DecodeSubf()
2174 *(msgh->ctrl)=*(msgh->lctrl)='\0'; in DecodeSubf()
2257 msgh->clen = pctrl -(char *)msgh->ctrl; in DecodeSubf()
2258 msgh->lclen = plctrl-(char *)msgh->lctrl; in DecodeSubf()
2261 msgh->ctrl = (unsigned char *)realloc(msgh->ctrl, msgh->clen + 1); in DecodeSubf()
2262 msgh->lctrl = (unsigned char *)realloc(msgh->lctrl, msgh->lclen + 1); in DecodeSubf()
[all …]
H A Dapi_sdm.c209 MSGH *msgh; in SdmCloseArea() local
280 MSGH *msgh; in SdmOpenMsg() local
497 return msgh; in SdmOpenMsg()
518 pfree(msgh); in SdmCloseMsg()
722 if (!append && msgh->clen <= 0 && msgh->zplen == 0 && !msgh->sq->isecho) in SdmWriteMsg()
905 lseek(msgh->fd, msgh->cur_pos = pos, SEEK_SET); in SdmSetCurPos()
967 MSGH *msgh; in SdmGetHighWater() local
1055 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetTextLen()
1061 return (dword) (msgh->msg_len - msgh->msgtxt_start); in SdmGetTextLen()
1075 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetCtrlLen()
[all …]
/dports/news/husky-fidoconf/husky-fidoconf-1.9.20191207/smapi/src/
H A Dapi_jam.c491 if (offset > (msgh->Hdr.TxtLen+msgh->lclen)) offset = msgh->Hdr.TxtLen+msgh->lclen; in JamReadMsg()
529 if (clen > msgh->clen) clen = msgh->clen; in JamReadMsg()
1043 return (msgh->Hdr.TxtLen+msgh->lclen); in JamGetTextLen()
1367 msgh->seek_hdr = msgh->Idx.HdrOffset; in Jam_OpenMsg()
2167 if (!(msgh->ctrl && msgh->lctrl)) { in DecodeSubf()
2174 *(msgh->ctrl)=*(msgh->lctrl)='\0'; in DecodeSubf()
2257 msgh->clen = pctrl -(char *)msgh->ctrl; in DecodeSubf()
2258 msgh->lclen = plctrl-(char *)msgh->lctrl; in DecodeSubf()
2261 msgh->ctrl = (unsigned char *)realloc(msgh->ctrl, msgh->clen + 1); in DecodeSubf()
2262 msgh->lctrl = (unsigned char *)realloc(msgh->lctrl, msgh->lclen + 1); in DecodeSubf()
[all …]
H A Dapi_sdm.c209 MSGH *msgh; in SdmCloseArea() local
280 MSGH *msgh; in SdmOpenMsg() local
497 return msgh; in SdmOpenMsg()
518 pfree(msgh); in SdmCloseMsg()
722 if (!append && msgh->clen <= 0 && msgh->zplen == 0 && !msgh->sq->isecho) in SdmWriteMsg()
905 lseek(msgh->fd, msgh->cur_pos = pos, SEEK_SET); in SdmSetCurPos()
967 MSGH *msgh; in SdmGetHighWater() local
1055 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetTextLen()
1061 return (dword) (msgh->msg_len - msgh->msgtxt_start); in SdmGetTextLen()
1075 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetCtrlLen()
[all …]
/dports/news/husky-hpt/husky-hpt-1.9.20191207/smapi/src/
H A Dapi_jam.c491 if (offset > (msgh->Hdr.TxtLen+msgh->lclen)) offset = msgh->Hdr.TxtLen+msgh->lclen; in JamReadMsg()
529 if (clen > msgh->clen) clen = msgh->clen; in JamReadMsg()
1043 return (msgh->Hdr.TxtLen+msgh->lclen); in JamGetTextLen()
1367 msgh->seek_hdr = msgh->Idx.HdrOffset; in Jam_OpenMsg()
2167 if (!(msgh->ctrl && msgh->lctrl)) { in DecodeSubf()
2174 *(msgh->ctrl)=*(msgh->lctrl)='\0'; in DecodeSubf()
2257 msgh->clen = pctrl -(char *)msgh->ctrl; in DecodeSubf()
2258 msgh->lclen = plctrl-(char *)msgh->lctrl; in DecodeSubf()
2261 msgh->ctrl = (unsigned char *)realloc(msgh->ctrl, msgh->clen + 1); in DecodeSubf()
2262 msgh->lctrl = (unsigned char *)realloc(msgh->lctrl, msgh->lclen + 1); in DecodeSubf()
[all …]
H A Dapi_sdm.c209 MSGH *msgh; in SdmCloseArea() local
280 MSGH *msgh; in SdmOpenMsg() local
497 return msgh; in SdmOpenMsg()
518 pfree(msgh); in SdmCloseMsg()
722 if (!append && msgh->clen <= 0 && msgh->zplen == 0 && !msgh->sq->isecho) in SdmWriteMsg()
905 lseek(msgh->fd, msgh->cur_pos = pos, SEEK_SET); in SdmSetCurPos()
967 MSGH *msgh; in SdmGetHighWater() local
1055 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetTextLen()
1061 return (dword) (msgh->msg_len - msgh->msgtxt_start); in SdmGetTextLen()
1075 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetCtrlLen()
[all …]
/dports/news/husky-sqpack/husky-sqpack-1.9.20191207/smapi/src/
H A Dapi_jam.c491 if (offset > (msgh->Hdr.TxtLen+msgh->lclen)) offset = msgh->Hdr.TxtLen+msgh->lclen; in JamReadMsg()
529 if (clen > msgh->clen) clen = msgh->clen; in JamReadMsg()
1043 return (msgh->Hdr.TxtLen+msgh->lclen); in JamGetTextLen()
1367 msgh->seek_hdr = msgh->Idx.HdrOffset; in Jam_OpenMsg()
2167 if (!(msgh->ctrl && msgh->lctrl)) { in DecodeSubf()
2174 *(msgh->ctrl)=*(msgh->lctrl)='\0'; in DecodeSubf()
2257 msgh->clen = pctrl -(char *)msgh->ctrl; in DecodeSubf()
2258 msgh->lclen = plctrl-(char *)msgh->lctrl; in DecodeSubf()
2261 msgh->ctrl = (unsigned char *)realloc(msgh->ctrl, msgh->clen + 1); in DecodeSubf()
2262 msgh->lctrl = (unsigned char *)realloc(msgh->lctrl, msgh->lclen + 1); in DecodeSubf()
[all …]
H A Dapi_sdm.c209 MSGH *msgh; in SdmCloseArea() local
280 MSGH *msgh; in SdmOpenMsg() local
497 return msgh; in SdmOpenMsg()
518 pfree(msgh); in SdmCloseMsg()
722 if (!append && msgh->clen <= 0 && msgh->zplen == 0 && !msgh->sq->isecho) in SdmWriteMsg()
905 lseek(msgh->fd, msgh->cur_pos = pos, SEEK_SET); in SdmSetCurPos()
967 MSGH *msgh; in SdmGetHighWater() local
1055 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetTextLen()
1061 return (dword) (msgh->msg_len - msgh->msgtxt_start); in SdmGetTextLen()
1075 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetCtrlLen()
[all …]
/dports/news/husky-smapi/husky-smapi-1.9.20191207,1/smapi/src/
H A Dapi_jam.c491 if (offset > (msgh->Hdr.TxtLen+msgh->lclen)) offset = msgh->Hdr.TxtLen+msgh->lclen; in JamReadMsg()
529 if (clen > msgh->clen) clen = msgh->clen; in JamReadMsg()
1043 return (msgh->Hdr.TxtLen+msgh->lclen); in JamGetTextLen()
1367 msgh->seek_hdr = msgh->Idx.HdrOffset; in Jam_OpenMsg()
2167 if (!(msgh->ctrl && msgh->lctrl)) { in DecodeSubf()
2174 *(msgh->ctrl)=*(msgh->lctrl)='\0'; in DecodeSubf()
2257 msgh->clen = pctrl -(char *)msgh->ctrl; in DecodeSubf()
2258 msgh->lclen = plctrl-(char *)msgh->lctrl; in DecodeSubf()
2261 msgh->ctrl = (unsigned char *)realloc(msgh->ctrl, msgh->clen + 1); in DecodeSubf()
2262 msgh->lctrl = (unsigned char *)realloc(msgh->lctrl, msgh->lclen + 1); in DecodeSubf()
[all …]
H A Dapi_sdm.c209 MSGH *msgh; in SdmCloseArea() local
280 MSGH *msgh; in SdmOpenMsg() local
497 return msgh; in SdmOpenMsg()
518 pfree(msgh); in SdmCloseMsg()
722 if (!append && msgh->clen <= 0 && msgh->zplen == 0 && !msgh->sq->isecho) in SdmWriteMsg()
905 lseek(msgh->fd, msgh->cur_pos = pos, SEEK_SET); in SdmSetCurPos()
967 MSGH *msgh; in SdmGetHighWater() local
1055 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetTextLen()
1061 return (dword) (msgh->msg_len - msgh->msgtxt_start); in SdmGetTextLen()
1075 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetCtrlLen()
[all …]
/dports/news/husky-huskylib/husky-huskylib-1.9.20191207/smapi/src/
H A Dapi_jam.c491 if (offset > (msgh->Hdr.TxtLen+msgh->lclen)) offset = msgh->Hdr.TxtLen+msgh->lclen; in JamReadMsg()
529 if (clen > msgh->clen) clen = msgh->clen; in JamReadMsg()
1043 return (msgh->Hdr.TxtLen+msgh->lclen); in JamGetTextLen()
1367 msgh->seek_hdr = msgh->Idx.HdrOffset; in Jam_OpenMsg()
2167 if (!(msgh->ctrl && msgh->lctrl)) { in DecodeSubf()
2174 *(msgh->ctrl)=*(msgh->lctrl)='\0'; in DecodeSubf()
2257 msgh->clen = pctrl -(char *)msgh->ctrl; in DecodeSubf()
2258 msgh->lclen = plctrl-(char *)msgh->lctrl; in DecodeSubf()
2261 msgh->ctrl = (unsigned char *)realloc(msgh->ctrl, msgh->clen + 1); in DecodeSubf()
2262 msgh->lctrl = (unsigned char *)realloc(msgh->lctrl, msgh->lclen + 1); in DecodeSubf()
[all …]
H A Dapi_sdm.c209 MSGH *msgh; in SdmCloseArea() local
280 MSGH *msgh; in SdmOpenMsg() local
497 return msgh; in SdmOpenMsg()
518 pfree(msgh); in SdmCloseMsg()
722 if (!append && msgh->clen <= 0 && msgh->zplen == 0 && !msgh->sq->isecho) in SdmWriteMsg()
905 lseek(msgh->fd, msgh->cur_pos = pos, SEEK_SET); in SdmSetCurPos()
967 MSGH *msgh; in SdmGetHighWater() local
1055 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetTextLen()
1061 return (dword) (msgh->msg_len - msgh->msgtxt_start); in SdmGetTextLen()
1075 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetCtrlLen()
[all …]
/dports/news/husky-htick/husky-htick-1.9.20191207/smapi/src/
H A Dapi_jam.c491 if (offset > (msgh->Hdr.TxtLen+msgh->lclen)) offset = msgh->Hdr.TxtLen+msgh->lclen; in JamReadMsg()
529 if (clen > msgh->clen) clen = msgh->clen; in JamReadMsg()
1043 return (msgh->Hdr.TxtLen+msgh->lclen); in JamGetTextLen()
1367 msgh->seek_hdr = msgh->Idx.HdrOffset; in Jam_OpenMsg()
2167 if (!(msgh->ctrl && msgh->lctrl)) { in DecodeSubf()
2174 *(msgh->ctrl)=*(msgh->lctrl)='\0'; in DecodeSubf()
2257 msgh->clen = pctrl -(char *)msgh->ctrl; in DecodeSubf()
2258 msgh->lclen = plctrl-(char *)msgh->lctrl; in DecodeSubf()
2261 msgh->ctrl = (unsigned char *)realloc(msgh->ctrl, msgh->clen + 1); in DecodeSubf()
2262 msgh->lctrl = (unsigned char *)realloc(msgh->lctrl, msgh->lclen + 1); in DecodeSubf()
[all …]
H A Dapi_sdm.c209 MSGH *msgh; in SdmCloseArea() local
280 MSGH *msgh; in SdmOpenMsg() local
497 return msgh; in SdmOpenMsg()
518 pfree(msgh); in SdmCloseMsg()
722 if (!append && msgh->clen <= 0 && msgh->zplen == 0 && !msgh->sq->isecho) in SdmWriteMsg()
905 lseek(msgh->fd, msgh->cur_pos = pos, SEEK_SET); in SdmSetCurPos()
967 MSGH *msgh; in SdmGetHighWater() local
1055 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetTextLen()
1061 return (dword) (msgh->msg_len - msgh->msgtxt_start); in SdmGetTextLen()
1075 if ((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetCtrlLen()
[all …]
/dports/news/rntrack/rntrack-2.1.10_2/smapi/src/
H A Dapi_sdm.c219 MSGH * msgh; in SdmCloseArea() local
287 MSGH * msgh; in SdmOpenMsg() local
506 return msgh; in SdmOpenMsg()
526 pfree(msgh); in SdmCloseMsg()
725 if(!append && msgh->clen <= 0 && msgh->zplen == 0 && !msgh->sq->isecho) in SdmWriteMsg()
908 lseek(msgh->fd, msgh->cur_pos = pos, SEEK_SET); in SdmSetCurPos()
1010 MSGH * msgh; in SdmGetHighWater() local
1094 if((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetTextLen()
1100 return (dword)(msgh->msg_len - msgh->msgtxt_start); in SdmGetTextLen()
1112 if((msgh->clen == -1) && (_Grab_Clen(msgh) == -1)) in SdmGetCtrlLen()
[all …]
H A Dapi_jam.c723 if(offset > (msgh->Hdr.TxtLen + msgh->lclen)) in JamReadMsg()
725 offset = msgh->Hdr.TxtLen + msgh->lclen; in JamReadMsg()
844 if(msgh->mode != MOPEN_CREATE && msgh->mode != MOPEN_WRITE && msgh->mode != MOPEN_RW) in JamWriteMsg()
1488 return msgh->Hdr.TxtLen + msgh->lclen; in JamGetTextLen()
1870 msgh->seek_hdr = msgh->Idx.HdrOffset; in Jam_OpenMsg()
3089 if(!(msgh->ctrl && msgh->lctrl)) in DecodeSubf()
3097 *(msgh->ctrl) = *(msgh->lctrl) = '\0'; in DecodeSubf()
3245 msgh->clen = (dword)(pctrl - (char *)msgh->ctrl); in DecodeSubf()
3249 msgh->ctrl = (unsigned char *)realloc(msgh->ctrl, msgh->clen + 1); in DecodeSubf()
3250 msgh->lctrl = (unsigned char *)realloc(msgh->lctrl, msgh->lclen + 1); in DecodeSubf()
[all …]
/dports/dns/dnsdist/dnsdist-1.6.1/
H A Diputils.cc289 struct msghdr msgh; in sendfromto() local
297 msgh.msg_iov = &iov; in sendfromto()
298 msgh.msg_iovlen = 1; in sendfromto()
325 msgh->msg_iov = iov; in fillMSGHdr()
326 msgh->msg_iovlen = 1; in fillMSGHdr()
327 msgh->msg_flags = 0; in fillMSGHdr()
362 struct msghdr msgh; in sendMsgWithOptions() local
379 msgh.msg_flags = 0; in sendMsgWithOptions()
387 msgh.msg_iov = &iov; in sendMsgWithOptions()
388 msgh.msg_iovlen = 1; in sendMsgWithOptions()
[all …]
/dports/dns/powerdns/pdns-4.5.2/pdns/
H A Diputils.cc289 struct msghdr msgh; in sendfromto() local
297 msgh.msg_iov = &iov; in sendfromto()
298 msgh.msg_iovlen = 1; in sendfromto()
325 msgh->msg_iov = iov; in fillMSGHdr()
326 msgh->msg_iovlen = 1; in fillMSGHdr()
327 msgh->msg_flags = 0; in fillMSGHdr()
362 struct msghdr msgh; in sendMsgWithOptions() local
379 msgh.msg_flags = 0; in sendMsgWithOptions()
387 msgh.msg_iov = &iov; in sendMsgWithOptions()
388 msgh.msg_iovlen = 1; in sendMsgWithOptions()
[all …]
/dports/devel/mercurial/mercurial-6.0/rust/chg/src/
H A Dsendfds.c29 struct msghdr msgh; in sendfds() local
38 memset(&msgh, 0, sizeof(msgh)); in sendfds()
39 msgh.msg_iov = &iov; in sendfds()
40 msgh.msg_iovlen = 1; in sendfds()
41 msgh.msg_control = fdbuf; in sendfds()
42 msgh.msg_controllen = CMSG_SPACE(sizeof(fds[0]) * fdlen); in sendfds()
44 cmsg = CMSG_FIRSTHDR(&msgh); in sendfds()
49 msgh.msg_controllen = cmsg->cmsg_len; in sendfds()
50 return sendmsg(sockfd, &msgh, 0); in sendfds()
/dports/net/freeradius3/freeradius-server-3.0.25/src/lib/
H A Dudpfromto.c164 struct msghdr msgh; in recvfromto() local
251 msgh.msg_control = cbuf; in recvfromto()
253 msgh.msg_name = from; in recvfromto()
255 msgh.msg_iov = &iov; in recvfromto()
256 msgh.msg_iovlen = 1; in recvfromto()
257 msgh.msg_flags = 0; in recvfromto()
311 struct msghdr msgh; in sendfromto() local
379 memset(&msgh, 0, sizeof(msgh)); in sendfromto()
384 msgh.msg_iov = &iov; in sendfromto()
385 msgh.msg_iovlen = 1; in sendfromto()
[all …]
/dports/net/kamailio/kamailio-5.4.5/src/modules/erlang/
H A Dworker.c123 struct msghdr msgh; in worker_rpc_impl() local
129 memset((void*)&msgh,0,sizeof(msgh)); in worker_rpc_impl()
145 msgh.msg_iovlen = 3; in worker_rpc_impl()
184 msgh.msg_iovlen = 6; in worker_rpc_impl()
243 msgh.msg_iovlen = 3; in worker_rpc_impl()
271 struct msghdr msgh; in worker_reg_send_impl() local
277 memset((void*)&msgh,0,sizeof(msgh)); in worker_reg_send_impl()
289 msgh.msg_iovlen = 2; in worker_reg_send_impl()
320 msgh.msg_iovlen = 4; in worker_reg_send_impl()
374 struct msghdr msgh; in worker_send_impl() local
[all …]
H A Derl_api.c79 struct msghdr msgh; in _impl_api_rpc_call() local
128 memset(&msgh, 0, sizeof(msgh)); in _impl_api_rpc_call()
162 msgh.msg_iov = cnt; in _impl_api_rpc_call()
163 msgh.msg_iovlen = 8; in _impl_api_rpc_call()
178 msgh.msg_iovlen = 2; in _impl_api_rpc_call()
196 msgh.msg_iovlen = 3; in _impl_api_rpc_call()
216 struct msghdr msgh; in _impl_reg_send() local
224 memset(&msgh, 0, sizeof(msgh)); in _impl_reg_send()
289 msgh.msg_iov = cnt; in _impl_reg_send()
348 struct msghdr msgh; in _impl_send() local
[all …]
/dports/news/husky-areafix/husky-areafix-1.9.20191207/smapi/smapi/
H A Dmsgapi.h219 sword(_XPENTRY * CloseMsg) (MSGH * msgh);
226 dword(_XPENTRY * GetCurPos) (MSGH * msgh);
231 dword(_XPENTRY * GetTextLen) (MSGH * msgh);
232 dword(_XPENTRY * GetCtrlLen) (MSGH * msgh);
324 #define MsgCloseMsg(msgh) ((*(((struct _msgh *)msgh)->sq->api->CloseMsg))(msgh)) argument
325 #define MsgReadMsg(msgh,msg,ofs,b,t,cl,ct) (*(((struct _msgh *)msgh)->sq->api->ReadMsg))(msgh,msg,… argument
330 #define MsgGetCurPos(msgh) (*(((struct _msgh *)msgh)->sq->api->GetCurPos))(msgh) argument
331 #define MsgSetCurPos(msgh,pos) (*(((struct _msgh *)msgh)->sq->api->SetCurPos))(msgh,po… argument
336 #define MsgGetTextLen(msgh) (*(((struct _msgh *)msgh)->sq->api->GetTextLen))(msgh) argument
337 #define MsgGetCtrlLen(msgh) (*(((struct _msgh *)msgh)->sq->api->GetCtrlLen))(msgh) argument
[all …]

12345678910