~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to m_struct.h

  • Committer: William Grant
  • Date: 2007-02-03 03:16:07 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: william.grant@ubuntu.org.au-20070203031607-08gc2ompbz6spt9i
Update to 1.0rc1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
/// Struct definition
14
14
typedef struct m_struct_st {
15
15
  /// For error messages and debugging
16
 
  char* name;
 
16
  const char* name;
17
17
  /// size of the whole struct
18
18
  unsigned int size;
19
19
  /// Pointer to a struct filled with the default settings
78
78
 *  \param field Name of the field to reset, if NULL all fields are reseted.
79
79
 */
80
80
void
81
 
m_struct_reset(m_struct_t* st, void* obj, char* field);
 
81
m_struct_reset(m_struct_t* st, void* obj, const char* field);
82
82
 
83
83
/// Create a copy of an existing struct.
84
84
/** \param st Struct definiton.
101
101
 *  \return The \ref m_option struct describing the field or NULL if not found.
102
102
 */
103
103
struct m_option*
104
 
m_struct_get_field(m_struct_t* st,char* f);
 
104
m_struct_get_field(m_struct_t* st,const char* f);
105
105
 
106
106
///@}
107
107