mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-12 12:37:05 +00:00
add sipcc to tree for sdp parser
This commit is contained in:
1 parent
36f89c8b7c
commit
0f00946782
369 files changed
+183596
No files matched your search
@@ -0,0 +1,30 @@
|
||||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
#ifndef _CPR_LINUX_STRING_H_
|
||||
#define _CPR_LINUX_STRING_H_
|
||||
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
|
||||
/**
|
||||
* cpr_strdup
|
||||
*
|
||||
* @brief The CPR wrapper for strdup
|
||||
|
||||
* The cpr_strdup shall return a pointer to a new string, which is a duplicate
|
||||
* of the string pointed to by "str" argument. A null pointer is returned if the
|
||||
* new string cannot be created.
|
||||
*
|
||||
* @param[in] str - The string that needs to be duplicated
|
||||
*
|
||||
* @return The duplicated string or NULL in case of no memory
|
||||
*
|
||||
*/
|
||||
char *
|
||||
cpr_strdup(const char *str);
|
||||
|
||||
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user