summaryrefslogtreecommitdiff
path: root/libgphoto2/gphoto2-result.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgphoto2/gphoto2-result.c')
-rw-r--r--libgphoto2/gphoto2-result.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/libgphoto2/gphoto2-result.c b/libgphoto2/gphoto2-result.c
index 2cd9ad572..42e6310dd 100644
--- a/libgphoto2/gphoto2-result.c
+++ b/libgphoto2/gphoto2-result.c
@@ -1,17 +1,20 @@
/** \file
*
- * Copyright 2000 Scott Fritzinger
+ * \author Copyright 2000 Scott Fritzinger
*
+ * \par License
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
+ * \par
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
+ * \par
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
@@ -56,14 +59,14 @@ static struct {
};
/**
- * gp_result_as_string:
- * @result: a gphoto2 error code
+ * \brief Translate a gphoto error code into a localized string
+ * \param result a gphoto2 error code
*
* Translates a gphoto2 error code into a human readable string. If the
* error occurred in combination with a camera,
* #gp_camera_get_result_as_string should be used instead.
*
- * Return value: A string representation of a gphoto2 error code
+ * \return A string representation of a gphoto2 error code
**/
const char *
gp_result_as_string (int result)