~ubuntu-branches/ubuntu/precise/modemmanager/precise

« back to all changes in this revision

Viewing changes to libqcdm/src/result.h

  • Committer: Package Import Robot
  • Author(s): Mathieu Trudel-Lapierre
  • Date: 2012-02-08 15:47:24 UTC
  • mfrom: (1.1.14)
  • Revision ID: package-import@ubuntu.com-20120208154724-8j99jwe6secj5tdm
Tags: 0.5.1.96+git201202081807.635fce1-0ubuntu1
* upstream snapshot 2012-02-08 18:07:13 (GMT)
  + 635fce193ff3a1dbbdee2abab9aa3ab121df25f0
* debian/rules: as for NetworkManager, drop a few characters from the version
  number for git snapshots.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#ifndef LIBQCDM_RESULT_H
19
19
#define LIBQCDM_RESULT_H
20
20
 
21
 
#include <glib.h>
22
 
 
23
 
typedef struct QCDMResult QCDMResult;
24
 
 
25
 
gboolean qcdm_result_get_string (QCDMResult *result,
26
 
                                 const char *key,
27
 
                                 const char **out_val);
28
 
 
29
 
gboolean qcdm_result_get_uint8  (QCDMResult *result,
30
 
                                 const char *key,
31
 
                                 guint8 *out_val);
32
 
 
33
 
gboolean qcdm_result_get_uint32 (QCDMResult *result,
34
 
                                 const char *key,
35
 
                                 guint32 *out_val);
36
 
 
37
 
QCDMResult *qcdm_result_ref     (QCDMResult *result);
38
 
 
39
 
void        qcdm_result_unref   (QCDMResult *result);
 
21
#include <sys/types.h>
 
22
 
 
23
typedef struct QcdmResult QcdmResult;
 
24
 
 
25
int qcdm_result_get_string (QcdmResult *r,
 
26
                            const char *key,
 
27
                            const char **out_val);
 
28
 
 
29
int qcdm_result_get_u8     (QcdmResult *r,
 
30
                            const char *key,
 
31
                            u_int8_t *out_val);
 
32
 
 
33
int qcdm_result_get_u32    (QcdmResult *r,
 
34
                            const char *key,
 
35
                            u_int32_t *out_val);
 
36
 
 
37
int qcdm_result_get_u16_array  (QcdmResult *result,
 
38
                                const char *key,
 
39
                                const u_int16_t **out_val,
 
40
                                size_t *out_len);
 
41
 
 
42
QcdmResult *qcdm_result_ref    (QcdmResult *r);
 
43
 
 
44
void       qcdm_result_unref   (QcdmResult *r);
40
45
 
41
46
#endif  /* LIBQCDM_RESULT_H */
42
47