mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-06 01:45:11 +00:00
comment out some code that is not used and does not have prototypes
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@73553 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -125,6 +125,7 @@ mm_param_free(struct mm_param *param)
|
||||
* actual object, so the memory holding the arguments can safely be
|
||||
* freed after successfull return of this function.
|
||||
*/
|
||||
#if 0
|
||||
struct mm_param *
|
||||
mm_param_generate(const char *name, const char *value)
|
||||
{
|
||||
@@ -137,6 +138,7 @@ mm_param_generate(const char *name, const char *value)
|
||||
|
||||
return param;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Sets the name of the given MIME parameter
|
||||
@@ -146,6 +148,7 @@ mm_param_generate(const char *name, const char *value)
|
||||
* @param copy If set to > 0, copy the value stored in name
|
||||
* @returns The address of the previous name for passing to free()
|
||||
*/
|
||||
#if 0
|
||||
char *
|
||||
mm_param_setname(struct mm_param *param, const char *name, int copy)
|
||||
{
|
||||
@@ -161,6 +164,7 @@ mm_param_setname(struct mm_param *param, const char *name, int copy)
|
||||
|
||||
return retadr;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Sets the value of the given MIME parameter
|
||||
@@ -170,6 +174,7 @@ mm_param_setname(struct mm_param *param, const char *name, int copy)
|
||||
* @param copy If set to > 0, copy the value stored in value
|
||||
* @returns The address of the previous value for passing to free()
|
||||
*/
|
||||
#if 0
|
||||
char *
|
||||
mm_param_setvalue(struct mm_param *param, const char *value, int copy)
|
||||
{
|
||||
@@ -185,6 +190,7 @@ mm_param_setvalue(struct mm_param *param, const char *value, int copy)
|
||||
|
||||
return retadr;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Gets the name of a MIME parameter object
|
||||
@@ -192,12 +198,14 @@ mm_param_setvalue(struct mm_param *param, const char *value, int copy)
|
||||
* @param param A valid MIME parameter object
|
||||
* @returns The name of the MIME parameter
|
||||
*/
|
||||
#if 0
|
||||
const char *
|
||||
mm_param_getname(struct mm_param *param)
|
||||
{
|
||||
assert(param != NULL);
|
||||
return param->name;
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Gets the value of a MIME parameter object
|
||||
@@ -205,11 +213,13 @@ mm_param_getname(struct mm_param *param)
|
||||
* @param param A valid MIME parameter object
|
||||
* @returns The value of the MIME parameter
|
||||
*/
|
||||
#if 0
|
||||
const char *
|
||||
mm_param_getvalue(struct mm_param *param)
|
||||
{
|
||||
assert(param != NULL);
|
||||
return param->value;
|
||||
}
|
||||
#endif
|
||||
|
||||
/** @} */
|
||||
|
||||
Reference in New Issue
Block a user