summaryrefslogtreecommitdiffstats
path: root/m_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'm_struct.h')
-rw-r--r--m_struct.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/m_struct.h b/m_struct.h
index 79c7c24f2f..1645ae734a 100644
--- a/m_struct.h
+++ b/m_struct.h
@@ -92,22 +92,6 @@ m_struct_alloc(const m_struct_t* st);
int m_struct_set(const m_struct_t *st, void *obj, const char *field,
struct bstr param);
-/// Reset a field (or all if field == NULL) to defaults.
-/** \param st Struct definition.
- * \param obj Pointer to the struct to set.
- * \param field Name of the field to reset, if NULL all fields are reseted.
- */
-void
-m_struct_reset(const m_struct_t* st, void* obj, const char* field);
-
-/// Create a copy of an existing struct.
-/** \param st Struct definition.
- * \param obj Pointer to the struct to copy.
- * \return Newly allocated copy of obj.
- */
-void*
-m_struct_copy(const m_struct_t* st, void* obj);
-
/// Free an allocated struct.
/** \param st Struct definition.
* \param obj Pointer to the struct to copy.