~ubuntu-branches/ubuntu/quantal/mplayer2/quantal-proposed

« back to all changes in this revision

Viewing changes to m_struct.h

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-01-12 22:59:30 UTC
  • mfrom: (5.1.8 sid)
  • Revision ID: package-import@ubuntu.com-20120112225930-jsg10o7na7nk73w5
Tags: 2.0-426-gc32b3ed-2
* Upload to unstable
* don't build-depend on libcdparanoia-dev on the hurd

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
#ifndef MPLAYER_M_STRUCT_H
20
20
#define MPLAYER_M_STRUCT_H
21
21
 
 
22
#include "bstr.h"
 
23
 
22
24
/// \defgroup OptionsStruct Options struct
23
25
/// \ingroup Options
24
26
/// An API to manipulate structs using m_option.
87
89
 *  \param param New value of the field.
88
90
 *  \return 0 on error, 1 on success.
89
91
 */
90
 
int
91
 
m_struct_set(const m_struct_t* st, void* obj, const char* field, const char* param);
 
92
int m_struct_set(const m_struct_t *st, void *obj, const char *field,
 
93
                 struct bstr param);
92
94
 
93
95
/// Reset a field (or all if field == NULL) to defaults.
94
96
/** \param st Struct definition.