Files
gb28181/GB28181Device/sip/sip_rx.h
2024-12-15 20:42:32 +08:00

44 lines
1.5 KiB
C

/***************************************************************************************
*
* IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING.
*
* By downloading, copying, installing or using the software you agree to this license.
* If you do not agree to this license, do not download, install,
* copy or use the software.
*
* Copyright (C) 2014-2022, Happytimesoft Corporation, all rights reserved.
*
* Redistribution and use in binary forms, with or without modification, are permitted.
*
* Unless required by applicable law or agreed to in writing, software distributed
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific
* language governing permissions and limitations under the License.
*
****************************************************************************************/
#ifndef SIP_RX_H
#define SIP_RX_H
#ifdef __cplusplus
extern "C" {
#endif
/*************************************************************************/
void sip_msg_rx(char * sip_msg, int len, uint32 rx_ip, uint16 rx_port, uint16 dst_port);
void sip_pmsg_rx(HSIP_MSG * rx_msg, HSIP_USER * p_user);
BOOL sip_check_request_via(HSIP_MSG * rx_msg);
BOOL sip_check_response_via(HSIP_MSG * rx_msg);
void sip_response_rx(HSIP_MSG * rx_msg);
void sip_request_rx(HSIP_MSG * rx_msg);
void sip_call_request_rx(HSIP_MSG * rx_msg, SUA * f_sua);
#ifdef __cplusplus
}
#endif
#endif // SIP_RX_H