From 2290893f446f4f3bcb4efe02648f20f8fae91715 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sun, 1 Apr 2012 05:30:28 +0000 Subject: [PATCH] Eeze: Patch to fix this: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit warning: Tag `DETAILS_AT_TOP' at line 15 of file Doxyfile has become obsolete. To avoid this warning please update your configuration file using "doxygen -u" warning: Tag `MAX_DOT_GRAPH_HEIGHT' at line 94 of file Doxyfile has become obsolete. To avoid this warning please update your configuration file using "doxygen -u" warning: Tag `MAX_DOT_GRAPH_WIDTH' at line 95 of file Doxyfile has become obsolete. To avoid this warning please update your configuration file using "doxygen -u" /tmp/eeze/src/lib/Eeze.h:313: warning: argument 'etype' of command @param is not found in the argument list of eeze_udev_find_by_type(Eeze_Udev_Type type, const char *name) /tmp/eeze/src/lib/Eeze.h:314: warning: explicit link request to 'NULL' could not be resolved /tmp/eeze/src/lib/Eeze.h:315: warning: explicit link request to 'NULL' could not be resolved /tmp/eeze/src/lib/Eeze.h:313: warning: The following parameters of eeze_udev_find_by_type(Eeze_Udev_Type type, const char *name) are not documented: parameter 'type' Patch by Jérôme Pinot, modified by myself SVN revision: 69825 --- legacy/eeze/doc/Doxyfile.in | 4 +--- legacy/eeze/src/lib/Eeze.h | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/legacy/eeze/doc/Doxyfile.in b/legacy/eeze/doc/Doxyfile.in index 2fbbb3524f..da43f4470c 100644 --- a/legacy/eeze/doc/Doxyfile.in +++ b/legacy/eeze/doc/Doxyfile.in @@ -12,11 +12,11 @@ COLLABORATION_GRAPH = NO COLS_IN_ALPHA_INDEX = 2 COMPACT_LATEX = NO COMPACT_RTF = NO -DETAILS_AT_TOP = NO DISABLE_INDEX = YES DISTRIBUTE_GROUP_DOC = NO DOT_CLEANUP = YES DOTFILE_DIRS = +DOT_GRAPH_MAX_NODES = 50 DOT_IMAGE_FORMAT = png DOT_PATH = ENABLED_SECTIONS = @@ -91,8 +91,6 @@ MAKEINDEX_CMD_NAME = makeindex MAN_EXTENSION = .3 MAN_LINKS = YES MAN_OUTPUT = man -MAX_DOT_GRAPH_HEIGHT = 512 -MAX_DOT_GRAPH_WIDTH = 512 MAX_INITIALIZER_LINES = 30 MULTILINE_CPP_IS_BRIEF = NO OPTIMIZE_OUTPUT_FOR_C = YES diff --git a/legacy/eeze/src/lib/Eeze.h b/legacy/eeze/src/lib/Eeze.h index 2c42c7fd3e..8135506aec 100644 --- a/legacy/eeze/src/lib/Eeze.h +++ b/legacy/eeze/src/lib/Eeze.h @@ -313,9 +313,9 @@ EAPI Eina_List *eeze_udev_find_by_sysattr(const char *sysattr, const char /** * Find devices using an #Eeze_Udev_Type and/or a name. * - * @param etype An #Eeze_Udev_Type or 0 - * @param name A filter for the device name or #NULL - * @return A stringshared Eina_List of matched devices or #NULL on failure + * @param type An #Eeze_Udev_Type or 0 + * @param name A filter for the device name or @c NULL + * @return A stringshared Eina_List of matched devices or @c NULL on failure * * Return a list of syspaths (/sys/$syspath) for matching udev devices. */ @@ -324,10 +324,10 @@ EAPI Eina_List *eeze_udev_find_by_type(Eeze_Udev_Type type, const char *na /** * A more advanced find, allows finds using udev properties. * - * @param subsystem The udev subsystem to filter by, or NULL - * @param type "ID_INPUT_KEY", "ID_INPUT_MOUSE", "ID_INPUT_TOUCHPAD", NULL, etc - * @param name A filter for the device name, or NULL - * @return A stringshared Eina_List* of matched devices or NULL on failure + * @param subsystem The udev subsystem to filter by, or @c NULL + * @param type "ID_INPUT_KEY", "ID_INPUT_MOUSE", "ID_INPUT_TOUCHPAD", @c NULL, etc + * @param name A filter for the device name, or @c NULL + * @return A stringshared Eina_List* of matched devices or @c NULL on failure * * Return a list of syspaths (/sys/$syspath) for matching udev devices. * Requires at least one filter. @@ -352,7 +352,7 @@ EAPI Eina_List *eeze_udev_find_by_filter(const char *subsystem, const char * Get the syspath of a device from the /dev/ path. * * @param devpath The /dev/ path of the device - * @return A stringshared char* which corresponds to the /sys/ path of the device or NULL on failure + * @return A stringshared char* which corresponds to the /sys/ path of the device or @c NULL on failure * * Takes "/dev/path" and returns the corresponding /sys/ path (without the "/sys/") */ @@ -380,7 +380,7 @@ EAPI Eina_List *eeze_udev_syspath_get_parents(const char *syspath); * Get the /dev/ path from the /sys/ path. * * @param syspath The /sys/ path with or without the /sys/ - * @return A stringshared char* with the /dev/ path or NULL on failure + * @return A stringshared char* with the /dev/ path or @c NULL on failure * * Takes /sys/$PATH and turns it into the corresponding "/dev/x/y". */ @@ -390,7 +390,7 @@ EAPI const char *eeze_udev_syspath_get_devpath(const char *syspath); * Get the /dev/ name from the /sys/ path. * * @param syspath The /sys/ path with or without the /sys/ - * @return A stringshared char* of the device name without the /dev/ path, or NULL on failure + * @return A stringshared char* of the device name without the /dev/ path, or @c NULL on failure * * Takes /sys/$PATH and turns it into the corresponding /dev/x/"y". */ @@ -400,7 +400,7 @@ EAPI const char *eeze_udev_syspath_get_devname(const char *syspath); * Get the subsystem of a device from the /sys/ path. * * @param syspath The /sys/ path with or without the /sys/ - * @return A stringshared char* with the subsystem of the device or NULL on failure + * @return A stringshared char* with the subsystem of the device or @c NULL on failure * * Takes /sys/$PATH and returns the corresponding device subsystem, * such as "input" for keyboards/mice. @@ -412,7 +412,7 @@ EAPI const char *eeze_udev_syspath_get_subsystem(const char *syspath); * * @param syspath The /sys/ path with or without the /sys/ * @param property The property to get; full list of these is a FIXME - * @return A stringshared char* with the property or NULL on failure + * @return A stringshared char* with the property or @c NULL on failure */ EAPI const char *eeze_udev_syspath_get_property(const char *syspath, const char *property); @@ -421,7 +421,7 @@ EAPI const char *eeze_udev_syspath_get_property(const char *syspath, const * * @param syspath The /sys/ path with or without the /sys/ * @param sysattr The sysattr to get; full list of these is a FIXME - * @return A stringshared char* with the sysattr or NULL on failure + * @return A stringshared char* with the sysattr or @c NULL on failure */ EAPI const char *eeze_udev_syspath_get_sysattr(const char *syspath, const char *sysattr); @@ -468,7 +468,7 @@ EAPI Eina_Bool eeze_udev_syspath_is_touchpad(const char *syspath); * * @param syspath The /sys/ path of the device to start at, with or without the /sys/ * @param sysattr The attribute to find - * @param value OPTIONAL: The value that @p sysattr should have, or NULL + * @param value OPTIONAL: The value that @p sysattr should have, or @c NULL * * @return If the sysattr (with value) is found, returns TRUE. Else, false. */ @@ -481,7 +481,7 @@ EAPI Eina_Bool eeze_udev_walk_check_sysattr(const char *syspath, const ch * @param syspath The /sys/ path of the device to start at, with or without the /sys/ * @param sysattr The attribute to find * - * @return The stringshared value of @p sysattr if found, or NULL + * @return The stringshared value of @p sysattr if found, or @c NULL */ EAPI const char *eeze_udev_walk_get_sysattr(const char *syspath, const char *sysattr); /** @@ -511,7 +511,7 @@ EAPI const char *eeze_udev_walk_get_sysattr(const char *syspath, const char * @param cb The function to call when the watch receives data of type #Eeze_Udev_Watch_Cb * @param user_data Data to pass to the callback function * - * @return A watch struct for the watch type specified, or NULL on failure + * @return A watch struct for the watch type specified, or @c NULL on failure * * Eeze watches will monitor udev for changes of type(s) @p event to devices of type @p type. When these changes occur, the stringshared * syspath of the device will be sent to function @p func, along with the bitmask of the event type which can be detected through @@ -523,7 +523,7 @@ EAPI Eeze_Udev_Watch *eeze_udev_watch_add(Eeze_Udev_Type type, int event, Eeze_U * Deletes a watch. * * @param watch An Eeze_Udev_Watch object - * @return The data originally associated with the watch, or NULL + * @return The data originally associated with the watch, or @c NULL * * Deletes a watch, closing file descriptors and freeing related udev memory. */