diff options
author | Marcus Meissner <marcus@jet.franken.de> | 2007-05-25 07:10:51 +0000 |
---|---|---|
committer | Marcus Meissner <marcus@jet.franken.de> | 2007-05-25 07:10:51 +0000 |
commit | 0aedaf5f3bd5cbe38e9fe09aeabf31d4fe728e3d (patch) | |
tree | 8ab52d3f422fc3a1cf6f0c9d0bd88f07ae390e7d /gphoto2 | |
parent | 5d75c51c585c99e2fd52ed8b6980ce4b91a30d7b (diff) | |
download | libgphoto2-0aedaf5f3bd5cbe38e9fe09aeabf31d4fe728e3d.tar.gz |
marked up the CameraList comment
git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@10315 67ed7778-7388-44ab-90cf-0a291f65f57c
Diffstat (limited to 'gphoto2')
-rw-r--r-- | gphoto2/gphoto2-list.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/gphoto2/gphoto2-list.h b/gphoto2/gphoto2-list.h index ca30532de..d7f1c291e 100644 --- a/gphoto2/gphoto2-list.h +++ b/gphoto2/gphoto2-list.h @@ -30,9 +30,17 @@ extern "C" { #endif /* __cplusplus */ -/* Usage pattern for CameraList for users external of +/** + * \brief A generic list + * + * This structure provides a list with \a name:value pairs that is used in various + * parts of libgphoto2. Its details are internal, please use the + * gp_list_xxx accessor functions. + * + * Usage pattern for CameraList for users external of * libgphoto2, such as libgphoto2 frontends: * + * \code * CameraList *list; * gp_list_new (&list); * init_list_somehow (list); @@ -43,11 +51,17 @@ extern "C" { * do_something_with (name, value); * } * gp_list_free (list); + * \endcode * * Please do NOT directly instantiate a CameraList object like this: + * \code * CameraList foo; // DO NOT DO THIS + * \endcode + * * Please do NOT directly access the structure members like this: + * \code * list->entry[i].name // DO NOT DO THIS + * \endcode */ typedef struct _CameraList CameraList; |