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

42 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_TX_H
#define SIP_TX_H
#ifdef __cplusplus
extern "C" {
#endif
int sip_user_net_tx(HSIP_USER * p_user, char * p_data, int len, uint32 rip, uint16 rport);
void sip_send_msg(HSIP_USER * p_user, SUA * p_sua, HSIP_MSG * tx_msg);
void sip_sua_send_msg(SUA * p_sua, HSIP_MSG * tx_msg);
void sip_user_send_msg(HSIP_USER * p_user, HSIP_MSG * tx_msg);
void sip_resend_sua_msg(SUA * p_sua);
HSIP_MSG * sip_build_call_response(HSIP_MSG * rx_msg, const char * response_hdr);
#ifdef __cplusplus
}
#endif
#endif // SIP_TX_H