From: Jérôme Pinot <ngc891@gmail.com>

Subject: [E-devel] [patch] ecore doxygen doc (2)
Date: Thu, 12 Apr 2012 12:46:04 +0900

Hi,

This is a big patch. It fixes:
- undef #EINA_{TRUE,FALSE} links
- @c for NULL and EINA_{TRUE,FALSE}
- some formatting/spello
- several missing return types


SVN revision: 70117
This commit is contained in:
Jérôme Pinot 2012-04-12 03:51:36 +00:00 committed by Mike Blumenkrantz
parent 369617c161
commit 7d464af0a1
28 changed files with 687 additions and 573 deletions

View File

@ -680,7 +680,7 @@ struct _Ecore_Event_Signal_Realtime /** Realtime event */
* @param type The type of the event this handler will get called for * @param type The type of the event this handler will get called for
* @param func The function to call when the event is found in the queue * @param func The function to call when the event is found in the queue
* @param data A data pointer to pass to the called function @p func * @param data A data pointer to pass to the called function @p func
* @return A new Event handler, or NULL on failure * @return A new Event handler, or @c NULL on failure.
* *
* Add an event handler to the list of handlers. This will, on success, return * Add an event handler to the list of handlers. This will, on success, return
* a handle to the event handler object that was created, that can be used * a handle to the event handler object that was created, that can be used
@ -706,7 +706,7 @@ EAPI Ecore_Event_Handler *ecore_event_handler_add(int type, Ecore_Event_Handler_
* *
* Delete a specified event handler from the handler list. On success this will * Delete a specified event handler from the handler list. On success this will
* delete the event handler and return the pointer passed as @p data when the * delete the event handler and return the pointer passed as @p data when the
* handler was added by ecore_event_handler_add(). On failure NULL will be * handler was added by ecore_event_handler_add(). On failure @c NULL will be
* returned. Once a handler is deleted it will no longer be called. * returned. Once a handler is deleted it will no longer be called.
*/ */
EAPI void *ecore_event_handler_del(Ecore_Event_Handler *event_handler); EAPI void *ecore_event_handler_del(Ecore_Event_Handler *event_handler);
@ -775,23 +775,24 @@ EAPI int ecore_event_type_new(void);
* @param func_filter Function to call on each event * @param func_filter Function to call on each event
* @param func_end Function to call after the queue has been filtered * @param func_end Function to call after the queue has been filtered
* @param data Data to pass to the filter functions * @param data Data to pass to the filter functions
* @return A filter handle on success, NULL otherwise * @return A filter handle on success, @c NULL otherwise.
* *
* Adds a callback to filter events from the event queue. Filters are called on * Adds a callback to filter events from the event queue. Filters are called on
* the queue just before Event handler processing to try and remove redundant * the queue just before Event handler processing to try and remove redundant
* events. Just as processing is about to start @a func_start is called and * events. Just as processing is about to start @a func_start is called and
* passed the @a data pointer, the return value of this functions is passed to * passed the @a data pointer, the return value of this functions is passed to
* @a func_filter as loop_data. @a func_filter is also passed @a data and the * @a func_filter as loop_data. @a func_filter is also passed @a data and the
* event type and event structure. If this @a func_filter returns #EINA_FALSE, * event type and event structure. If this @a func_filter returns
* the event is removed from the queue, if it returns #EINA_TRUE, the event is * @c EINA_FALSE, the event is removed from the queue, if it returns
* kept. When processing is finished @p func_end is called and is passed the * @c EINA_TRUE, the event is kept. When processing is finished @p func_end is
* loop_data(returned by @c func_start) and @p data pointer to clean up. * called and is passed the loop_data(returned by @c func_start) and @p data
* pointer to clean up.
*/ */
EAPI Ecore_Event_Filter *ecore_event_filter_add(Ecore_Data_Cb func_start, Ecore_Filter_Cb func_filter, Ecore_End_Cb func_end, const void *data); EAPI Ecore_Event_Filter *ecore_event_filter_add(Ecore_Data_Cb func_start, Ecore_Filter_Cb func_filter, Ecore_End_Cb func_end, const void *data);
/** /**
* @brief Delete an event filter. * @brief Delete an event filter.
* @param ef The event filter handle * @param ef The event filter handle
* @return The data set for the filter on success, NULL otherwise * @return The data set for the filter on success, @c NULL otherwise.
* *
* Delete a filter that has been added by its @p ef handle. * Delete a filter that has been added by its @p ef handle.
*/ */
@ -814,7 +815,7 @@ EAPI int ecore_event_current_type_get(void);
/** /**
* @brief Return the current event type pointer handled. * @brief Return the current event type pointer handled.
* @return The current event pointer being handled if inside a handler callback, * @return The current event pointer being handled if inside a handler callback,
* NULL otherwise * @c NULL otherwise.
* *
* If the program is currently inside an Ecore event handler callback this * If the program is currently inside an Ecore event handler callback this
* will return the pointer of the current event being processed. * will return the pointer of the current event being processed.
@ -900,7 +901,7 @@ struct _Ecore_Exe_Event_Del /** Process exit event */
{ {
pid_t pid; /**< The process ID of the process that exited */ pid_t pid; /**< The process ID of the process that exited */
int exit_code; /**< The exit code of the process */ int exit_code; /**< The exit code of the process */
Ecore_Exe *exe; /**< The handle to the exited process, or NULL if not found */ Ecore_Exe *exe; /**< The handle to the exited process, or @c NULL if not found */
int exit_signal; /** < The signal that caused the process to exit */ int exit_signal; /** < The signal that caused the process to exit */
Eina_Bool exited : 1; /** < set to 1 if the process exited of its own accord */ Eina_Bool exited : 1; /** < set to 1 if the process exited of its own accord */
Eina_Bool signalled : 1; /** < set to 1 id the process exited due to uncaught signal */ Eina_Bool signalled : 1; /** < set to 1 id the process exited due to uncaught signal */
@ -921,7 +922,7 @@ struct _Ecore_Exe_Event_Data /** Data from a child process event */
Ecore_Exe *exe; /**< The handle to the process */ Ecore_Exe *exe; /**< The handle to the process */
void *data; /**< the raw binary data from the child process that was received */ void *data; /**< the raw binary data from the child process that was received */
int size; /**< the size of this data in bytes */ int size; /**< the size of this data in bytes */
Ecore_Exe_Event_Data_Line *lines; /**< an array of line data if line buffered, the last one has it's line member set to NULL */ Ecore_Exe_Event_Data_Line *lines; /**< an array of line data if line buffered, the last one has it's line member set to @c NULL */
}; };
EAPI void ecore_exe_run_priority_set(int pri); EAPI void ecore_exe_run_priority_set(int pri);
@ -1075,8 +1076,8 @@ EAPI void ecore_main_fd_handler_prepare_callback_set(Ecore_Fd_Handler *fd_handle
/** /**
* @brief Marks an FD handler for deletion. * @brief Marks an FD handler for deletion.
* @param fd_handler The FD handler. * @param fd_handler The FD handler.
* @return The data pointer set using @ref ecore_main_fd_handler_add, for @a * @return The data pointer set using @ref ecore_main_fd_handler_add, for
* fd_handler on success, @c NULL otherwise. * @a fd_handler on success, @c NULL otherwise.
* This function marks an fd handler to be deleted during an iteration of the * This function marks an fd handler to be deleted during an iteration of the
* main loop. It does NOT close the associated fd! * main loop. It does NOT close the associated fd!
* *
@ -1095,9 +1096,9 @@ EAPI int ecore_main_fd_handler_fd_get(Ecore_Fd_Handler *fd_handler);
/** /**
* @brief Gets which flags are active on an FD handler. * @brief Gets which flags are active on an FD handler.
* @param fd_handler The given FD handler. * @param fd_handler The given FD handler.
* @param flags The flags, @c ECORE_FD_READ, @c ECORE_FD_WRITE or @c * @param flags The flags, @c ECORE_FD_READ, @c ECORE_FD_WRITE or
* ECORE_FD_ERROR to query. * @c ECORE_FD_ERROR to query.
* @return #EINA_TRUE if any of the given flags are active, #EINA_FALSE * @return @c EINA_TRUE if any of the given flags are active, @c EINA_FALSE
* otherwise. * otherwise.
*/ */
EAPI Eina_Bool ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags); EAPI Eina_Bool ecore_main_fd_handler_active_get(Ecore_Fd_Handler *fd_handler, Ecore_Fd_Handler_Flags flags);
@ -1308,10 +1309,10 @@ typedef Eina_Bool (*Ecore_Timeline_Cb)(void *data, double pos);
* @param data The data to pass to the function * @param data The data to pass to the function
* @return A handle to the new animator * @return A handle to the new animator
* *
* This function adds a animator and returns its handle on success and NULL on * This function adds a animator and returns its handle on success and @c NULL
* failure. The function @p func will be called every N seconds where N is the * on failure. The function @p func will be called every N seconds where N is
* @p frametime interval set by ecore_animator_frametime_set(). The function * the @p frametime interval set by ecore_animator_frametime_set(). The
* will be passed the @p data pointer as its parameter. * function will be passed the @p data pointer as its parameter.
* *
* When the animator @p func is called, it must return a value of either 1 or * When the animator @p func is called, it must return a value of either 1 or
* 0. If it returns 1 (or ECORE_CALLBACK_RENEW), it will be called again at * 0. If it returns 1 (or ECORE_CALLBACK_RENEW), it will be called again at
@ -1360,7 +1361,7 @@ EAPI Ecore_Animator *ecore_animator_timeline_add(double runtime, Ecore_Timeline_
* *
* Delete the specified @p animator from the set of animators that are * Delete the specified @p animator from the set of animators that are
* executed during main loop execution. This function returns the data * executed during main loop execution. This function returns the data
* parameter that was being passed to the callback on success, or NULL on * parameter that was being passed to the callback on success, or @c NULL on
* failure. After this call returns the specified animator object @p animator * failure. After this call returns the specified animator object @p animator
* is invalid and should not be used again. It will not get called again after * is invalid and should not be used again. It will not get called again after
* deletion. * deletion.
@ -1521,7 +1522,7 @@ EAPI Ecore_Animator_Source ecore_animator_source_get(void);
* to allow the source of ticks to be dynamically enabled or disabled as * to allow the source of ticks to be dynamically enabled or disabled as
* needed, the @p func when set is called to enable the tick source to * needed, the @p func when set is called to enable the tick source to
* produce tick events that call ecore_animator_custom_tick(). If @p func * produce tick events that call ecore_animator_custom_tick(). If @p func
* is NULL then no function is called to begin custom ticking. * is @c NULL then no function is called to begin custom ticking.
* *
* @see ecore_animator_source_set() * @see ecore_animator_source_set()
* @see ecore_animator_custom_source_tick_end_callback_set() * @see ecore_animator_custom_source_tick_end_callback_set()
@ -1535,10 +1536,10 @@ EAPI void ecore_animator_custom_source_tick_begin_callback_set(Ecore_Cb func, co
* @param data The data passed to the tick end function as its parameter * @param data The data passed to the tick end function as its parameter
* *
* This function is a matching pair to the function set by * This function is a matching pair to the function set by
*ecore_animator_custom_source_tick_begin_callback_set() and is called * ecore_animator_custom_source_tick_begin_callback_set() and is called
* when ticking is to stop. If @p func is NULL then no function will be * when ticking is to stop. If @p func is @c NULL then no function will be
* called to stop ticking. For more information please see * called to stop ticking. For more information please see
*ecore_animator_custom_source_tick_begin_callback_set(). * ecore_animator_custom_source_tick_begin_callback_set().
* *
* @see ecore_animator_source_set() * @see ecore_animator_source_set()
* @see ecore_animator_custom_source_tick_begin_callback_set() * @see ecore_animator_custom_source_tick_begin_callback_set()
@ -1594,8 +1595,8 @@ EAPI double ecore_loop_time_get(void);
* } * }
* ecore_timer_add(interval_in_seconds, my_func, data_given_to_function); * ecore_timer_add(interval_in_seconds, my_func, data_given_to_function);
* @endcode * @endcode
* @note If the function was to be executed only once simply return EINA_FALSE * @note If the function was to be executed only once simply return
* instead. * @c EINA_FALSE instead.
* *
* An example that shows the usage of a lot of these: * An example that shows the usage of a lot of these:
* @li @ref ecore_timer_example_c * @li @ref ecore_timer_example_c
@ -1678,12 +1679,12 @@ typedef struct _Ecore_Idle_Exiter Ecore_Idle_Exiter; /**< A handle for idle exi
* Add an idler handler. * Add an idler handler.
* @param func The function to call when idling. * @param func The function to call when idling.
* @param data The data to be passed to this @p func call. * @param data The data to be passed to this @p func call.
* @return A idler handle if successfully added. NULL otherwise. * @return A idler handle if successfully added, @c NULL otherwise.
* *
* Add an idler handle to the event loop, returning a handle on * Add an idler handle to the event loop, returning a handle on
* success and NULL otherwise. The function @p func will be called * success and @c NULL otherwise. The function @p func will be called
* repeatedly while no other events are ready to be processed, as * repeatedly while no other events are ready to be processed, as
* long as it returns 1 (or ECORE_CALLBACK_RENEW). A return of 0 * long as it returns @c 1 (or ECORE_CALLBACK_RENEW). A return of @c 0
* (or ECORE_CALLBACK_CANCEL) deletes the idler. * (or ECORE_CALLBACK_CANCEL) deletes the idler.
* *
* Idlers are useful for progressively prossessing data without blocking. * Idlers are useful for progressively prossessing data without blocking.
@ -1693,7 +1694,7 @@ EAPI Ecore_Idler *ecore_idler_add(Ecore_Task_Cb func, const void *data);
/** /**
* Delete an idler callback from the list to be executed. * Delete an idler callback from the list to be executed.
* @param idler The handle of the idler callback to delete * @param idler The handle of the idler callback to delete
* @return The data pointer passed to the idler callback on success. NULL * @return The data pointer passed to the idler callback on success, @c NULL
* otherwise. * otherwise.
*/ */
EAPI void *ecore_idler_del(Ecore_Idler *idler); EAPI void *ecore_idler_del(Ecore_Idler *idler);
@ -1822,7 +1823,7 @@ typedef void (*Ecore_Thread_Notify_Cb)(void *data, Ecore_Thread *thread, void *m
* @param func_cancel Function to call from main loop if the thread running * @param func_cancel Function to call from main loop if the thread running
* @p func_blocking is cancelled or fails to start (may be NULL) * @p func_blocking is cancelled or fails to start (may be NULL)
* @param data User context data to pass to all callbacks. * @param data User context data to pass to all callbacks.
* @return A new thread handler, or NULL on failure * @return A new thread handler, or @c NULL on failure.
* *
* This function will try to create a new thread to run @p func_blocking in, * This function will try to create a new thread to run @p func_blocking in,
* or if the maximum number of concurrent threads has been reached, will * or if the maximum number of concurrent threads has been reached, will
@ -1882,7 +1883,7 @@ EAPI Ecore_Thread *ecore_thread_run(Ecore_Thread_Cb func_blocking, Ecore_Thread_
* @p func_heavy is cancelled or fails to start * @p func_heavy is cancelled or fails to start
* @param data User context data to pass to all callback. * @param data User context data to pass to all callback.
* @param try_no_queue If you want to run outside of the thread pool. * @param try_no_queue If you want to run outside of the thread pool.
* @return A new thread handler, or NULL on failure * @return A new thread handler, or @c NULL on failure.
* *
* See ecore_thread_run() for a general description of this function. * See ecore_thread_run() for a general description of this function.
* *
@ -1918,26 +1919,26 @@ EAPI Ecore_Thread *ecore_thread_feedback_run(Ecore_Thread_Cb func_heavy, Ecore_T
* Cancel a running thread. * Cancel a running thread.
* *
* @param thread The thread to cancel. * @param thread The thread to cancel.
* @return Will return EINA_TRUE if the thread has been cancelled, * @return Will return @c EINA_TRUE if the thread has been cancelled,
* EINA_FALSE if it is pending. * @c EINA_FALSE if it is pending.
* *
* This function can be called both in the main loop or in the running thread. * This function can be called both in the main loop or in the running thread.
* *
* This function cancels a running thread. If @p thread can be immediately * This function cancels a running thread. If @p thread can be immediately
* cancelled (it's still pending execution after creation or rescheduling), * cancelled (it's still pending execution after creation or rescheduling),
* then the @c cancel callback will be called, @p thread will be freed and * then the @c cancel callback will be called, @p thread will be freed and
* the function will return EINA_TRUE. * the function will return @c EINA_TRUE.
* *
* If the thread is already running, then this function returns EINA_FALSE * If the thread is already running, then this function returns @c EINA_FALSE
* after marking the @p thread as pending cancellation. For the thread to * after marking the @p thread as pending cancellation. For the thread to
* actually be terminated, it needs to return from the user function back * actually be terminated, it needs to return from the user function back
* into Ecore control. This can happen in several ways: * into Ecore control. This can happen in several ways:
* @li The function ends and returns normally. If it hadn't been cancelled, * @li The function ends and returns normally. If it hadn't been cancelled,
* @c func_end would be called here, but instead @c func_cancel will happen. * @c func_end would be called here, but instead @c func_cancel will happen.
* @li The function returns after requesting to be rescheduled with * @li The function returns after requesting to be rescheduled with
*ecore_thread_reschedule(). * ecore_thread_reschedule().
* @li The function is prepared to leave early by checking if * @li The function is prepared to leave early by checking if
*ecore_thread_check() returns EINA_TRUE. * ecore_thread_check() returns @c EINA_TRUE.
* *
* The user function can cancel itself by calling ecore_thread_cancel(), but * The user function can cancel itself by calling ecore_thread_cancel(), but
* it should always use the ::Ecore_Thread handle passed to it and never * it should always use the ::Ecore_Thread handle passed to it and never
@ -1945,7 +1946,7 @@ EAPI Ecore_Thread *ecore_thread_feedback_run(Ecore_Thread_Cb func_heavy, Ecore_T
* other way. * other way.
* *
* @p thread will be freed and should not be used again if this function * @p thread will be freed and should not be used again if this function
* returns EINA_TRUE or after the @c func_cancel callback returns. * returns @c EINA_TRUE or after the @c func_cancel callback returns.
* *
* @see ecore_thread_check() * @see ecore_thread_check()
*/ */
@ -1954,13 +1955,13 @@ EAPI Eina_Bool ecore_thread_cancel(Ecore_Thread *thread);
* Checks if a thread is pending cancellation * Checks if a thread is pending cancellation
* *
* @param thread The thread to test. * @param thread The thread to test.
* @return EINA_TRUE if the thread is pending cancellation, * @return @c EINA_TRUE if the thread is pending cancellation,
* EINA_FALSE if it is not. * @c EINA_FALSE if it is not.
* *
* This function can be called both in the main loop or in the running thread. * This function can be called both in the main loop or in the running thread.
* *
* When ecore_thread_cancel() is called on an already running task, the * When ecore_thread_cancel() is called on an already running task, the
* thread is marked as pending cancellation. This function returns EINA_TRUE * thread is marked as pending cancellation. This function returns @c EINA_TRUE
* if this mark is set for the given @p thread and can be used from the * if this mark is set for the given @p thread and can be used from the
* main loop thread to check if a still active thread has been cancelled, * main loop thread to check if a still active thread has been cancelled,
* or from the user function running in the thread to check if it should * or from the user function running in the thread to check if it should
@ -1975,13 +1976,13 @@ EAPI Eina_Bool ecore_thread_check(Ecore_Thread *thread);
* *
* @param thread The current ::Ecore_Thread context to send data from * @param thread The current ::Ecore_Thread context to send data from
* @param msg_data Data to be transmitted to the main loop * @param msg_data Data to be transmitted to the main loop
* @return EINA_TRUE if @p msg_data was successfully sent to main loop, * @return @c EINA_TRUE if @p msg_data was successfully sent to main loop,
* EINA_FALSE if anything goes wrong. * @c EINA_FALSE if anything goes wrong.
* *
* You should use this function only in the @c func_heavy call. * You should use this function only in the @c func_heavy call.
* *
* Only the address to @p msg_data will be sent and once this function * Only the address to @p msg_data will be sent and once this function
* returns EINA_TRUE, the job running in the thread should never touch the * returns @c EINA_TRUE, the job running in the thread should never touch the
* contents of it again. The data sent should be malloc()'ed or something * contents of it again. The data sent should be malloc()'ed or something
* similar, as long as it's not memory local to the thread that risks being * similar, as long as it's not memory local to the thread that risks being
* overwritten or deleted once it goes out of scope or the thread finishes. * overwritten or deleted once it goes out of scope or the thread finishes.
@ -1996,8 +1997,8 @@ EAPI Eina_Bool ecore_thread_feedback(Ecore_Thread *thread, const void *msg_data)
* Asks for the function in the thread to be called again at a later time * Asks for the function in the thread to be called again at a later time
* *
* @param thread The current ::Ecore_Thread context to rescheduled * @param thread The current ::Ecore_Thread context to rescheduled
* @return EINA_TRUE if the task was successfully rescheduled, * @return @c EINA_TRUE if the task was successfully rescheduled,
* EINA_FALSE if anything goes wrong. * @c EINA_FALSE if anything goes wrong.
* *
* This function should be called only from the same function represented * This function should be called only from the same function represented
* by @p thread. * by @p thread.
@ -2007,7 +2008,7 @@ EAPI Eina_Bool ecore_thread_feedback(Ecore_Thread *thread, const void *msg_data)
* If no other tasks are waiting or there are sufficient threads available, * If no other tasks are waiting or there are sufficient threads available,
* the rescheduled task will be launched again immediately. * the rescheduled task will be launched again immediately.
* *
* This should never return EINA_FALSE, unless it was called from the wrong * This should never return @c EINA_FALSE, unless it was called from the wrong
* thread or with the wrong arguments. * thread or with the wrong arguments.
* *
* The @c func_end callback set when the thread is created will not be * The @c func_end callback set when the thread is created will not be
@ -2025,7 +2026,7 @@ EAPI Eina_Bool ecore_thread_reschedule(Ecore_Thread *thread);
* through the Ecore_Thread API. * through the Ecore_Thread API.
* *
* @note Jobs started through the ecore_thread_feedback_run() function with * @note Jobs started through the ecore_thread_feedback_run() function with
* the @c try_no_queue parameter set to EINA_TRUE will not be accounted for * the @c try_no_queue parameter set to @c EINA_TRUE will not be accounted for
* in the return of this function unless the thread creation fails and it * in the return of this function unless the thread creation fails and it
* falls back to using one from the pool. * falls back to using one from the pool.
*/ */
@ -2120,7 +2121,7 @@ EAPI int ecore_thread_available_get(void);
* @param cb Function to free the data when removed from the hash * @param cb Function to free the data when removed from the hash
* @param direct If true, this will not copy the key string (like * @param direct If true, this will not copy the key string (like
* eina_hash_direct_add()) * eina_hash_direct_add())
* @return EINA_TRUE on success, EINA_FALSE on failure * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
* *
* Ecore Thread has a mechanism to share data across several worker functions * Ecore Thread has a mechanism to share data across several worker functions
* that run on the same system thread. That is, the data is stored per * that run on the same system thread. That is, the data is stored per
@ -2174,7 +2175,7 @@ EAPI int ecore_thread_available_get(void);
* change the value under a @p key, or you don't know if one exists already, * change the value under a @p key, or you don't know if one exists already,
* you can use ecore_thread_local_data_set(). * you can use ecore_thread_local_data_set().
* *
* Neither @p key nor @p value may be NULL and @p key will be copied in the * Neither @p key nor @p value may be @c NULL and @p key will be copied in the
* hash, unless @p direct is set, in which case the string used should not * hash, unless @p direct is set, in which case the string used should not
* be freed until the data is removed from the hash. * be freed until the data is removed from the hash.
* *
@ -2183,7 +2184,7 @@ EAPI int ecore_thread_available_get(void);
* because @p thread was terminated and the hash destroyed. This parameter * because @p thread was terminated and the hash destroyed. This parameter
* may be NULL, in which case @p value needs to be manually freed after * may be NULL, in which case @p value needs to be manually freed after
* removing it from the hash with either ecore_thread_local_data_del() or * removing it from the hash with either ecore_thread_local_data_del() or
*ecore_thread_local_data_set(), but it's very unlikely that this is what * ecore_thread_local_data_set(), but it's very unlikely that this is what
* you want. * you want.
* *
* This function, and all of the others in the @c ecore_thread_local_data * This function, and all of the others in the @c ecore_thread_local_data
@ -2212,8 +2213,8 @@ EAPI Eina_Bool ecore_thread_local_data_add(Ecore_Thread *thread, const char *key
* If the hash already contains something under @p key, the data will be * If the hash already contains something under @p key, the data will be
* replaced by @p value and the old value will be returned. * replaced by @p value and the old value will be returned.
* *
* NULL will also be returned if either @p key or @p value are NULL, or if * @c NULL will also be returned if either @p key or @p value are @c NULL, or
* an error occurred. * if an error occurred.
* *
* This function, and all of the others in the @c ecore_thread_local_data * This function, and all of the others in the @c ecore_thread_local_data
* family of functions, can only be called within the worker function running * family of functions, can only be called within the worker function running
@ -2230,7 +2231,7 @@ EAPI void *ecore_thread_local_data_set(Ecore_Thread *thread, const char *key, vo
* *
* @param thread The thread context the data belongs to * @param thread The thread context the data belongs to
* @param key The name under which the data is stored * @param key The name under which the data is stored
* @return The value under the given key, or NULL on error * @return The value under the given key, or @c NULL on error.
* *
* Finds and return the data stored in the shared hash under the key @p key. * Finds and return the data stored in the shared hash under the key @p key.
* *
@ -2248,11 +2249,11 @@ EAPI void *ecore_thread_local_data_find(Ecore_Thread *thread, const char *key);
* *
* @param thread The thread context the data belongs to * @param thread The thread context the data belongs to
* @param key The name under which the data is stored * @param key The name under which the data is stored
* @return EINA_TRUE on success, EINA_FALSE on failure * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
* *
* If there's any data stored associated with @p key in the global hash, * If there's any data stored associated with @p key in the global hash,
* this function will remove it from it and return EINA_TRUE. If no data * this function will remove it from it and return @c EINA_TRUE. If no data
* exists or an error occurs, it returns EINA_FALSE. * exists or an error occurs, it returns @c EINA_FALSE.
* *
* If the data was added to the hash with a free function, then it will * If the data was added to the hash with a free function, then it will
* also be freed after removing it from the hash, otherwise it requires * also be freed after removing it from the hash, otherwise it requires
@ -2277,7 +2278,7 @@ EAPI Eina_Bool ecore_thread_local_data_del(Ecore_Thread *thread, const char *key
* @param cb Function to free the data when removed from the hash * @param cb Function to free the data when removed from the hash
* @param direct If true, this will not copy the key string (like * @param direct If true, this will not copy the key string (like
* eina_hash_direct_add()) * eina_hash_direct_add())
* @return EINA_TRUE on success, EINA_FALSE on failure * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
* *
* Ecore Thread keeps a hash that can be used to share data across several * Ecore Thread keeps a hash that can be used to share data across several
* threads, including the main loop one, without having to manually handle * threads, including the main loop one, without having to manually handle
@ -2288,7 +2289,7 @@ EAPI Eina_Bool ecore_thread_local_data_del(Ecore_Thread *thread, const char *key
* change the value under a @p key, or you don't know if one exists already, * change the value under a @p key, or you don't know if one exists already,
* you can use ecore_thread_global_data_set(). * you can use ecore_thread_global_data_set().
* *
* Neither @p key nor @p value may be NULL and @p key will be copied in the * Neither @p key nor @p value may be @c NULL and @p key will be copied in the
* hash, unless @p direct is set, in which case the string used should not * hash, unless @p direct is set, in which case the string used should not
* be freed until the data is removed from the hash. * be freed until the data is removed from the hash.
* *
@ -2322,8 +2323,8 @@ EAPI Eina_Bool ecore_thread_global_data_add(const char *key, void *value, Eina_F
* If the hash already contains something under @p key, the data will be * If the hash already contains something under @p key, the data will be
* replaced by @p value and the old value will be returned. * replaced by @p value and the old value will be returned.
* *
* NULL will also be returned if either @p key or @p value are NULL, or if * @c NULL will also be returned if either @p key or @p value are @c NULL, or
* an error occurred. * if an error occurred.
* *
* @see ecore_thread_global_data_add() * @see ecore_thread_global_data_add()
* @see ecore_thread_global_data_del() * @see ecore_thread_global_data_del()
@ -2334,7 +2335,7 @@ EAPI void *ecore_thread_global_data_set(const char *key, void *value, Eina_Free_
* Gets data stored in the hash shared by all threads * Gets data stored in the hash shared by all threads
* *
* @param key The name under which the data is stored * @param key The name under which the data is stored
* @return The value under the given key, or NULL on error * @return The value under the given key, or @c NULL on error.
* *
* Finds and return the data stored in the shared hash under the key @p key. * Finds and return the data stored in the shared hash under the key @p key.
* *
@ -2351,11 +2352,11 @@ EAPI void *ecore_thread_global_data_find(const char *key);
* Deletes from the shared hash the data corresponding to the given key * Deletes from the shared hash the data corresponding to the given key
* *
* @param key The name under which the data is stored * @param key The name under which the data is stored
* @return EINA_TRUE on success, EINA_FALSE on failure * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
* *
* If there's any data stored associated with @p key in the global hash, * If there's any data stored associated with @p key in the global hash,
* this function will remove it from it and return EINA_TRUE. If no data * this function will remove it from it and return @c EINA_TRUE. If no data
* exists or an error occurs, it returns EINA_FALSE. * exists or an error occurs, it returns @c EINA_FALSE.
* *
* If the data was added to the hash with a free function, then it will * If the data was added to the hash with a free function, then it will
* also be freed after removing it from the hash, otherwise it requires * also be freed after removing it from the hash, otherwise it requires
@ -2375,15 +2376,15 @@ EAPI Eina_Bool ecore_thread_global_data_del(const char *key);
* *
* @param key The name under which the data is stored * @param key The name under which the data is stored
* @param seconds The amount of time in seconds to wait for the data. * @param seconds The amount of time in seconds to wait for the data.
* @return The value under the given key, or NULL on error * @return The value under the given key, or @c NULL on error.
* *
* Finds and return the data stored in the shared hash under the key @p key. * Finds and return the data stored in the shared hash under the key @p key.
* *
* If there's nothing in the hash under the given @p key, the function * If there's nothing in the hash under the given @p key, the function
* will block and wait up to @p seconds seconds for some other thread to * will block and wait up to @p seconds seconds for some other thread to
* add it with either ecore_thread_global_data_add() or * add it with either ecore_thread_global_data_add() or
*ecore_thread_global_data_set(). If after waiting there's still no data * ecore_thread_global_data_set(). If after waiting there's still no data
* to get, NULL will be returned. * to get, @c NULL will be returned.
* *
* If @p seconds is 0, then no waiting will happen and this function works * If @p seconds is 0, then no waiting will happen and this function works
* like ecore_thread_global_data_find(). If @p seconds is less than 0, then * like ecore_thread_global_data_find(). If @p seconds is less than 0, then

View File

@ -733,7 +733,7 @@ ecore_exe_callback_pre_free_set(Ecore_Exe *exe,
* @param exe The child process to send to * @param exe The child process to send to
* @param data The data to send * @param data The data to send
* @param size The size of the data to send, in bytes * @param size The size of the data to send, in bytes
* @return EINA_TRUE if successful, EINA_FALSE on failure. * @return @c EINA_TRUE if successful, @c EINA_FALSE on failure.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_exe_send(Ecore_Exe *exe, ecore_exe_send(Ecore_Exe *exe,
@ -1145,7 +1145,7 @@ ecore_exe_pid_get(const Ecore_Exe *exe)
/** /**
* Retrieves the command of the given spawned process. * Retrieves the command of the given spawned process.
* @param exe Handle to the given spawned process. * @param exe Handle to the given spawned process.
* @return The command on success. NULL otherwise. This string is the * @return The command on success, @c NULL otherwise. This string is the
* pointer to the internal value and must not be modified in * pointer to the internal value and must not be modified in
* any way. * any way.
*/ */

View File

@ -1674,7 +1674,7 @@ _ecore_getopt_parse_find_long_other(const Ecore_Getopt *parser,
/** /**
* Check parser for duplicate entries, print them out. * Check parser for duplicate entries, print them out.
* *
* @return EINA_TRUE if there are duplicates, EINA_FALSE otherwise. * @return @c EINA_TRUE if there are duplicates, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_getopt_parser_has_duplicates(const Ecore_Getopt *parser) ecore_getopt_parser_has_duplicates(const Ecore_Getopt *parser)
@ -1743,8 +1743,9 @@ _ecore_getopt_find_help(const Ecore_Getopt *parser)
* (others than @c ECORE_GETOPT_DESC_ARG_REQUIREMENT_YES), are expected * (others than @c ECORE_GETOPT_DESC_ARG_REQUIREMENT_YES), are expected
* to provide a value in @c def to be used. * to provide a value in @c def to be used.
* *
* The following actions will store 1 on value as a boolean * The following actions will store @c 1 on value as a boolean
* (@c value->boolp) if it's not NULL to indicate these actions were executed: * (@c value->boolp) if it's not @c NULL to indicate these actions were
* executed:
* - @c ECORE_GETOPT_ACTION_HELP * - @c ECORE_GETOPT_ACTION_HELP
* - @c ECORE_GETOPT_ACTION_VERSION * - @c ECORE_GETOPT_ACTION_VERSION
* - @c ECORE_GETOPT_ACTION_COPYRIGHT * - @c ECORE_GETOPT_ACTION_COPYRIGHT
@ -1758,7 +1759,7 @@ _ecore_getopt_find_help(const Ecore_Getopt *parser)
* integer and so on. * integer and so on.
* *
* If parser is in strict mode (see @c Ecore_Getopt->strict), then any * If parser is in strict mode (see @c Ecore_Getopt->strict), then any
* error will abort parsing and -1 is returned. Otherwise it will try * error will abort parsing and @c -1 is returned. Otherwise it will try
* to continue as far as possible. * to continue as far as possible.
* *
* This function may reorder @a argv elements. * This function may reorder @a argv elements.
@ -1845,7 +1846,7 @@ error:
* Utility to free list and nodes allocated by @a ECORE_GETOPT_ACTION_APPEND. * Utility to free list and nodes allocated by @a ECORE_GETOPT_ACTION_APPEND.
* *
* @param list pointer to list to be freed. * @param list pointer to list to be freed.
* @return always NULL, so you can easily make your list head NULL. * @return always @c NULL, so you can easily make your list head @c NULL.
*/ */
EAPI Eina_List * EAPI Eina_List *
ecore_getopt_list_free(Eina_List *list) ecore_getopt_list_free(Eina_List *list)
@ -1863,7 +1864,7 @@ ecore_getopt_list_free(Eina_List *list)
* @param str Geometry value * @param str Geometry value
* @param storage must be a pointer to @c Eina_Rectangle and will be used to * @param storage must be a pointer to @c Eina_Rectangle and will be used to
* store the four values passed in the given string. * store the four values passed in the given string.
* @return EINA_TRUE on success, EINA_FALSE on incorrect geometry value. * @return @c EINA_TRUE on success, @c EINA_FALSE on incorrect geometry value.
* *
* @c callback_data value is ignored, you can safely use @c NULL. * @c callback_data value is ignored, you can safely use @c NULL.
*/ */
@ -1890,9 +1891,9 @@ ecore_getopt_callback_geometry_parse(const Ecore_Getopt *parser __UNUSED__,
* *
* @param str size value * @param str size value
* @param storage must be a pointer to @c Eina_Rectangle and will be used to * @param storage must be a pointer to @c Eina_Rectangle and will be used to
* store the two values passed in the given string and 0 in the x and y * store the two values passed in the given string and @c 0 in the x and y
* fields. * fields.
* @return EINA_TRUE on success, EINA_FALSE on incorrect size value. * @return @c EINA_TRUE on success, @c EINA_FALSE on incorrect size value.
* *
* @c callback_data value is ignored, you can safely use @c NULL. * @c callback_data value is ignored, you can safely use @c NULL.
*/ */

View File

@ -373,7 +373,7 @@ ecore_pipe_write_close(Ecore_Pipe *p)
* @param p The Ecore_Pipe object. * @param p The Ecore_Pipe object.
* @param buffer The data to write into the pipe. * @param buffer The data to write into the pipe.
* @param nbytes The size of the @p buffer in bytes * @param nbytes The size of the @p buffer in bytes
* @return Returns EINA_TRUE on a successful write, EINA_FALSE on an error * @return @c EINA_TRUE on a successful write, @c EINA_FALSE on error.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_pipe_write(Ecore_Pipe *p, ecore_pipe_write(Ecore_Pipe *p,

View File

@ -681,8 +681,8 @@ EAPI int ecore_con_shutdown(void);
* @param name IP address or server name to translate. * @param name IP address or server name to translate.
* @param done_cb Callback to notify when done. * @param done_cb Callback to notify when done.
* @param data User data to be given to done_cb. * @param data User data to be given to done_cb.
* @return EINA_TRUE if the request did not fail to be set up, EINA_FALSE if it * @return @c EINA_TRUE if the request did not fail to be set up, @c EINA_FALSE
* failed. * if it failed.
* *
* This function performs a DNS lookup on the hostname specified by @p name, * This function performs a DNS lookup on the hostname specified by @p name,
* then calls @p done_cb with the result and the @p data given as parameter. * then calls @p done_cb with the result and the @p data given as parameter.
@ -915,7 +915,7 @@ EAPI void * ecore_con_server_data_set(Ecore_Con_Server *svr,
* Retrieves whether the given server is currently connected. * Retrieves whether the given server is currently connected.
* *
* @param svr The given server. * @param svr The given server.
* @return #EINA_TRUE if the server is connected. #EINA_FALSE otherwise. * @return @c EINA_TRUE if the server is connected, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool ecore_con_server_connected_get(Ecore_Con_Server *svr); EAPI Eina_Bool ecore_con_server_connected_get(Ecore_Con_Server *svr);
/** /**
@ -1013,7 +1013,8 @@ EAPI void ecore_con_server_client_limit_set(Ecore_Con_Server *svr,
* @return A pointer to an internal string that contains the IP address of * @return A pointer to an internal string that contains the IP address of
* the connected server in the form "XXX.YYY.ZZZ.AAA" IP notation. * the connected server in the form "XXX.YYY.ZZZ.AAA" IP notation.
* This string should not be modified or trusted to stay valid after * This string should not be modified or trusted to stay valid after
* deletion for the @p svr object. If no IP is known NULL is returned. * deletion for the @p svr object. If no IP is known @c NULL is
* returned.
*/ */
EAPI const char * ecore_con_server_ip_get(Ecore_Con_Server *svr); EAPI const char * ecore_con_server_ip_get(Ecore_Con_Server *svr);
/** /**
@ -1167,7 +1168,7 @@ EAPI void * ecore_con_client_data_get(Ecore_Con_Client *cl);
* the connected client in the form "XXX.YYY.ZZZ.AAA" IP notation. * the connected client in the form "XXX.YYY.ZZZ.AAA" IP notation.
* *
* The returned string should not be modified, freed or trusted to stay valid * The returned string should not be modified, freed or trusted to stay valid
* after deletion for the @p cl object. If no IP is known NULL is returned. * after deletion for the @p cl object. If no IP is known @c NULL is returned.
*/ */
EAPI const char * ecore_con_client_ip_get(Ecore_Con_Client *cl); EAPI const char * ecore_con_client_ip_get(Ecore_Con_Client *cl);
/** /**
@ -1228,7 +1229,7 @@ EAPI void ecore_con_client_timeout_set(Ecore_Con_Client *cl, double
* Returns whether the client is still connected * Returns whether the client is still connected
* *
* @param cl The given client. * @param cl The given client.
* @return #EINA_TRUE if connected, else EINA_FALSE * @return @c EINA_TRUE if connected, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool ecore_con_client_connected_get(Ecore_Con_Client *cl); EAPI Eina_Bool ecore_con_client_connected_get(Ecore_Con_Client *cl);
/** /**
@ -1361,7 +1362,7 @@ typedef enum _Ecore_Con_Url_Http_Version
* Change the HTTP version used for the request * Change the HTTP version used for the request
* @param url_con Connection object through which the request will be sent. * @param url_con Connection object through which the request will be sent.
* @param version The version to be used * @param version The version to be used
* @return EINA_TRUE on success, EINA_FALSE on failure to change version * @return @c EINA_TRUE on success, @c EINA_FALSE on failure to change version.
* @since 1.2 * @since 1.2
* @see ecore_con_url_pipeline_get() * @see ecore_con_url_pipeline_get()
*/ */
@ -1388,7 +1389,7 @@ EAPI int ecore_con_url_shutdown(void);
/** /**
* Enable or disable HTTP 1.1 pipelining. * Enable or disable HTTP 1.1 pipelining.
* @param enable EINA_TRUE will turn it on, EINA_FALSE will disable it. * @param enable @c EINA_TRUE will turn it on, @c EINA_FALSE will disable it.
* *
* Pipelining allows to send one request after another one, without having to * Pipelining allows to send one request after another one, without having to
* wait for the reply of the first request. The respective replies are received * wait for the reply of the first request. The respective replies are received
@ -1404,7 +1405,7 @@ EAPI int ecore_con_url_shutdown(void);
EAPI void ecore_con_url_pipeline_set(Eina_Bool enable); EAPI void ecore_con_url_pipeline_set(Eina_Bool enable);
/** /**
* Is HTTP 1.1 pipelining enable ? * Is HTTP 1.1 pipelining enable ?
* @return EINA_TRUE if it is enable. * @return @c EINA_TRUE if it is enable.
* *
* @see ecore_con_url_pipeline_set() * @see ecore_con_url_pipeline_set()
*/ */
@ -1416,7 +1417,7 @@ EAPI Eina_Bool ecore_con_url_pipeline_get(void);
* @param url URL that will receive requests. Can be changed using * @param url URL that will receive requests. Can be changed using
* ecore_con_url_url_set. * ecore_con_url_url_set.
* *
* @return NULL on error, a new Ecore_Con_Url on success. * @return @c NULL on error, a new Ecore_Con_Url on success.
* *
* Creates and initializes a new Ecore_Con_Url connection object that can be * Creates and initializes a new Ecore_Con_Url connection object that can be
* used for sending requests. * used for sending requests.
@ -1431,7 +1432,7 @@ EAPI Ecore_Con_Url * ecore_con_url_new(const char *url);
* @param url URL that will receive requests * @param url URL that will receive requests
* @param custom_request Custom request (e.g. GET, POST, HEAD, PUT, etc) * @param custom_request Custom request (e.g. GET, POST, HEAD, PUT, etc)
* *
* @return NULL on error, a new Ecore_Con_Url on success. * @return @c NULL on error, a new Ecore_Con_Url on success.
* *
* Creates and initializes a new Ecore_Con_Url for a custom request (e.g. HEAD, * Creates and initializes a new Ecore_Con_Url for a custom request (e.g. HEAD,
* SUBSCRIBE and other obscure HTTP requests). This object should be used like * SUBSCRIBE and other obscure HTTP requests). This object should be used like
@ -1456,8 +1457,7 @@ EAPI void ecore_con_url_free(Ecore_Con_Url *url_con);
* @param url_con Connection object through which the request will be sent. * @param url_con Connection object through which the request will be sent.
* @param url URL that will receive the request * @param url URL that will receive the request
* *
* @return EINA_TRUE on success, EINA_FALSE on error. * @return @c EINA_TRUE on success, @c EINA_FALSE on error.
*
*/ */
EAPI Eina_Bool ecore_con_url_url_set(Ecore_Con_Url *url_con, EAPI Eina_Bool ecore_con_url_url_set(Ecore_Con_Url *url_con,
const char *url); const char *url);
@ -1465,7 +1465,8 @@ EAPI Eina_Bool ecore_con_url_url_set(Ecore_Con_Url *url_con,
* Gets the URL to send the request to. * Gets the URL to send the request to.
* *
* @param url_con Connection object through which the request will be sent. * @param url_con Connection object through which the request will be sent.
* @return URL that will receive the request, NULL on failure. URL is stringshared. * @return URL that will receive the request, @c NULL on failure. URL is
* stringshared.
* @since 1.1 * @since 1.1
*/ */
EAPI const char *ecore_con_url_url_get(Ecore_Con_Url *url_con); EAPI const char *ecore_con_url_url_get(Ecore_Con_Url *url_con);
@ -1578,9 +1579,10 @@ EAPI int ecore_con_url_received_bytes_get(Ecore_Con_Url *url_con);
* @param password Password to use in authentication * @param password Password to use in authentication
* @param safe Whether to use "safer" methods (eg, NOT http basic auth) * @param safe Whether to use "safer" methods (eg, NOT http basic auth)
* *
* @return #EINA_TRUE on success, #EINA_FALSE on error. * @return @c EINA_TRUE on success, @c EINA_FALSE on error.
* *
* ATTENTION: requires libcurl >= 7.19.1 to work, otherwise will always return 0. * @attention Requires libcurl >= 7.19.1 to work, otherwise will always return
* @c 0.
*/ */
EAPI Eina_Bool ecore_con_url_httpauth_set(Ecore_Con_Url *url_con, EAPI Eina_Bool ecore_con_url_httpauth_set(Ecore_Con_Url *url_con,
const char *username, const char *username,
@ -1591,7 +1593,7 @@ EAPI Eina_Bool ecore_con_url_httpauth_set(Ecore_Con_Url *url_con,
* *
* @param url_con Connection object to perform a request on, previously created * @param url_con Connection object to perform a request on, previously created
* *
* @return #EINA_TRUE on success, #EINA_FALSE on error. * @return @c EINA_TRUE on success, @c EINA_FALSE on error.
* *
* The request is performed immediately, but you need to setup event handlers * The request is performed immediately, but you need to setup event handlers
* for #ECORE_CON_EVENT_URL_DATA, #ECORE_CON_EVENT_URL_COMPLETE or * for #ECORE_CON_EVENT_URL_DATA, #ECORE_CON_EVENT_URL_COMPLETE or
@ -1618,7 +1620,7 @@ EAPI Eina_Bool ecore_con_url_get(Ecore_Con_Url *url_con);
* @param content_type Content type of the payload (e.g. text/xml). Can be @c * @param content_type Content type of the payload (e.g. text/xml). Can be @c
* NULL. * NULL.
* *
* @return #EINA_TRUE on success, #EINA_FALSE on error. * @return @c EINA_TRUE on success, @c EINA_FALSE on error.
* *
* The request starts immediately, but you need to setup event handlers * The request starts immediately, but you need to setup event handlers
* for #ECORE_CON_EVENT_URL_DATA, #ECORE_CON_EVENT_URL_COMPLETE or * for #ECORE_CON_EVENT_URL_DATA, #ECORE_CON_EVENT_URL_COMPLETE or
@ -1659,12 +1661,14 @@ EAPI void ecore_con_url_time(Ecore_Con_Url *url_con,
/** /**
* @brief Uploads a file to an ftp site. * @brief Uploads a file to an ftp site.
*
* @param url_con The Ecore_Con_Url object to send with * @param url_con The Ecore_Con_Url object to send with
* @param filename The path to the file to send * @param filename The path to the file to send
* @param user The username to log in with * @param user The username to log in with
* @param pass The password to log in with * @param pass The password to log in with
* @param upload_dir The directory to which the file should be uploaded * @param upload_dir The directory to which the file should be uploaded
* @return #EINA_TRUE on success, else #EINA_FALSE. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
*
* Upload @p filename to an ftp server set in @p url_con using @p user * Upload @p filename to an ftp server set in @p url_con using @p user
* and @p pass to directory @p upload_dir * and @p pass to directory @p upload_dir
*/ */
@ -1864,7 +1868,7 @@ EAPI int ecore_con_url_ssl_ca_set(Ecore_Con_Url *url_con,
* @param url_con Connection object that will use the proxy. * @param url_con Connection object that will use the proxy.
* @param proxy Porxy string or @c NULL to disable * @param proxy Porxy string or @c NULL to disable
* *
* @return #EINA_TRUE on success, #EINA_FALSE on error. * @return @c EINA_TRUE on success, @c EINA_FALSE on error.
* @since 1.2 * @since 1.2
*/ */
EAPI Eina_Bool ecore_con_url_proxy_set(Ecore_Con_Url *url_con, const char *proxy); EAPI Eina_Bool ecore_con_url_proxy_set(Ecore_Con_Url *url_con, const char *proxy);
@ -1877,7 +1881,7 @@ EAPI Eina_Bool ecore_con_url_proxy_set(Ecore_Con_Url *url_con, const char *proxy
* @param url_con Connection object that will use the proxy. * @param url_con Connection object that will use the proxy.
* @param username Username string. * @param username Username string.
* *
* @return #EINA_TRUE on success, #EINA_FALSE on error. * @return @c EINA_TRUE on success, @c EINA_FALSE on error.
* *
* @see ecore_con_url_proxy_set() * @see ecore_con_url_proxy_set()
* *
@ -1893,7 +1897,7 @@ EAPI Eina_Bool ecore_con_url_proxy_username_set(Ecore_Con_Url *url_con, const ch
* @param url_con Connection object that will use the proxy. * @param url_con Connection object that will use the proxy.
* @param password Password string. * @param password Password string.
* *
* @return #EINA_TRUE on success, #EINA_FALSE on error. * @return @c EINA_TRUE on success, @c EINA_FALSE on error.
* *
* @see ecore_con_url_proxy_set() * @see ecore_con_url_proxy_set()
* *

View File

@ -174,15 +174,15 @@ struct _Ecore_Con_Server
double disconnect_time; double disconnect_time;
double client_disconnect_time; double client_disconnect_time;
const char *ip; const char *ip;
Eina_Bool created : 1; /* EINA_TRUE if server is our listening server */ Eina_Bool created : 1; /* @c EINA_TRUE if server is our listening server */
Eina_Bool connecting : 1; /* EINA_FALSE if just initialized or connected */ Eina_Bool connecting : 1; /* @c EINA_FALSE if just initialized or connected */
Eina_Bool handshaking : 1; /* EINA_TRUE if server is ssl handshaking */ Eina_Bool handshaking : 1; /* @c EINA_TRUE if server is ssl handshaking */
Eina_Bool upgrade : 1; /* STARTTLS queued */ Eina_Bool upgrade : 1; /* STARTTLS queued */
Eina_Bool ssl_prepared : 1; Eina_Bool ssl_prepared : 1;
Eina_Bool use_cert : 1; /* EINA_TRUE if using certificate auth */ Eina_Bool use_cert : 1; /* @c EINA_TRUE if using certificate auth */
Ecore_Con_Ssl_State ssl_state; /* current state of ssl handshake on the server */ Ecore_Con_Ssl_State ssl_state; /* current state of ssl handshake on the server */
Eina_Bool verify : 1; /* EINA_TRUE if certificates will be verified */ Eina_Bool verify : 1; /* @c EINA_TRUE if certificates will be verified */
Eina_Bool verify_basic : 1; /* EINA_TRUE if certificates will be verified only against the hostname */ Eina_Bool verify_basic : 1; /* @c EINA_TRUE if certificates will be verified only against the hostname */
Eina_Bool reject_excess_clients : 1; Eina_Bool reject_excess_clients : 1;
Eina_Bool delete_me : 1; /* del event has been queued */ Eina_Bool delete_me : 1; /* del event has been queued */
#ifdef _WIN32 #ifdef _WIN32

View File

@ -654,7 +654,7 @@ ecore_con_ssl_server_verify_name_get(Ecore_Con_Server *svr)
* If there is an error loading the certificate, an error will automatically be logged. * If there is an error loading the certificate, an error will automatically be logged.
* @param svr The server object * @param svr The server object
* @param cert The path to the certificate. * @param cert The path to the certificate.
* @return EINA_FALSE if the file cannot be loaded, otherwise EINA_TRUE. * @return @c EINA_FALSE if the file cannot be loaded, otherwise @c EINA_TRUE.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -686,7 +686,7 @@ ecore_con_ssl_server_cert_add(Ecore_Con_Server *svr,
* If there is an error loading the CAs, an error will automatically be logged. * If there is an error loading the CAs, an error will automatically be logged.
* @param svr The server object * @param svr The server object
* @param ca_file The path to the CA file. * @param ca_file The path to the CA file.
* @return EINA_FALSE if the file cannot be loaded, otherwise EINA_TRUE. * @return @c EINA_FALSE if the file cannot be loaded, otherwise @c EINA_TRUE.
* @note since 1.2, this function can load directores * @note since 1.2, this function can load directores
*/ */
@ -719,8 +719,7 @@ ecore_con_ssl_server_cafile_add(Ecore_Con_Server *svr,
* If there is an error loading the key, an error will automatically be logged. * If there is an error loading the key, an error will automatically be logged.
* @param svr The server object * @param svr The server object
* @param key_file The path to the key file. * @param key_file The path to the key file.
* @return EINA_FALSE if the file cannot be loaded, * @return @c EINA_FALSE if the file cannot be loaded, otherwise @c EINA_TRUE.
* otherwise EINA_TRUE.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -752,8 +751,7 @@ ecore_con_ssl_server_privkey_add(Ecore_Con_Server *svr,
* If there is an error loading the CRL, an error will automatically be logged. * If there is an error loading the CRL, an error will automatically be logged.
* @param svr The server object * @param svr The server object
* @param crl_file The path to the CRL file. * @param crl_file The path to the CRL file.
* @return EINA_FALSE if the file cannot be loaded, * @return @c EINA_FALSE if the file cannot be loaded, otherwise @c EINA_TRUE.
* otherwise EINA_TRUE.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -785,7 +783,7 @@ ecore_con_ssl_server_crl_add(Ecore_Con_Server *svr,
* The connection should be treated as disconnected until the next event. * The connection should be treated as disconnected until the next event.
* @param svr The server object * @param svr The server object
* @param ssl_type The SSL connection type (ONLY). * @param ssl_type The SSL connection type (ONLY).
* @return EINA_FALSE if the connection cannot be upgraded, otherwise EINA_TRUE. * @return @c EINA_FALSE if the connection cannot be upgraded, otherwise @c EINA_TRUE.
* @note This function is NEVER to be used on a server object created with ecore_con_server_add * @note This function is NEVER to be used on a server object created with ecore_con_server_add
* @warning Setting a wrong value for @p compl_type WILL mess up your program. * @warning Setting a wrong value for @p compl_type WILL mess up your program.
* @since 1.1 * @since 1.1
@ -824,7 +822,7 @@ ecore_con_ssl_server_upgrade(Ecore_Con_Server *svr, Ecore_Con_Type ssl_type)
* The connection should be treated as disconnected until the next event. * The connection should be treated as disconnected until the next event.
* @param cl The client object * @param cl The client object
* @param ssl_type The SSL connection type (ONLY). * @param ssl_type The SSL connection type (ONLY).
* @return EINA_FALSE if the connection cannot be upgraded, otherwise EINA_TRUE. * @return @c EINA_FALSE if the connection cannot be upgraded, otherwise @c EINA_TRUE.
* @warning Setting a wrong value for @p compl_type WILL mess up your program. * @warning Setting a wrong value for @p compl_type WILL mess up your program.
* @since 1.1 * @since 1.1
*/ */

View File

@ -222,7 +222,7 @@ EAPI void ecore_evas_engines_free(Eina_List *engines);
* @brief Creates a new Ecore_Evas based on engine name and common parameters. * @brief Creates a new Ecore_Evas based on engine name and common parameters.
* *
* @param engine_name engine name as returned by * @param engine_name engine name as returned by
* ecore_evas_engines_get() or NULL to use environment variable * ecore_evas_engines_get() or @c NULL to use environment variable
* ECORE_EVAS_ENGINE, that can be undefined and in this case * ECORE_EVAS_ENGINE, that can be undefined and in this case
* this call will try to find the first working engine. * this call will try to find the first working engine.
* @param x horizontal position of window (not supported in all engines) * @param x horizontal position of window (not supported in all engines)
@ -230,19 +230,20 @@ EAPI void ecore_evas_engines_free(Eina_List *engines);
* @param w width of window * @param w width of window
* @param h height of window * @param h height of window
* @param extra_options string with extra parameter, dependent on engines * @param extra_options string with extra parameter, dependent on engines
* or NULL. String is usually in the form: 'key1=value1;key2=value2'. * or @ NULL. String is usually in the form: 'key1=value1;key2=value2'.
* Pay attention that when getting that from shell commands, most * Pay attention that when getting that from shell commands, most
* consider ';' as the command terminator, so you need to escape * consider ';' as the command terminator, so you need to escape
* it or use quotes. * it or use quotes.
* *
* @return Ecore_Evas instance or NULL if creation failed. * @return Ecore_Evas instance or @c NULL if creation failed.
*/ */
EAPI Ecore_Evas *ecore_evas_new(const char *engine_name, int x, int y, int w, int h, const char *extra_options); EAPI Ecore_Evas *ecore_evas_new(const char *engine_name, int x, int y, int w, int h, const char *extra_options);
/** /**
* @brief Set whether an Ecore_Evas has an alpha channel or not. * @brief Set whether an Ecore_Evas has an alpha channel or not.
* *
* @param ee The Ecore_Evas to shape * @param ee The Ecore_Evas to shape
* @param alpha EINA_TRUE to enable the alpha channel, EINA_FALSE to disable it * @param alpha @c EINA_TRUE to enable the alpha channel, @c EINA_FALSE to
* disable it
* *
* This function allows you to make an Ecore_Evas translucent using an * This function allows you to make an Ecore_Evas translucent using an
* alpha channel. See ecore_evas_shaped_set() for details. The difference * alpha channel. See ecore_evas_shaped_set() for details. The difference
@ -257,10 +258,11 @@ EAPI void ecore_evas_alpha_set(Ecore_Evas *ee, Eina_Bool alpha);
/** /**
* @brief Query whether an Ecore_Evas has an alpha channel. * @brief Query whether an Ecore_Evas has an alpha channel.
* @param ee The Ecore_Evas to query. * @param ee The Ecore_Evas to query.
* @return EINA_TRUE if ee has an alpha channel, EINA_FALSE if it does not. * @return @c EINA_TRUE if ee has an alpha channel, @c EINA_FALSE if it does
* not.
* *
* This function returns EINA_TRUE if @p ee has an alpha channel, and EINA_FALSE * This function returns @c EINA_TRUE if @p ee has an alpha channel, and
* if it does not. * @c EINA_FALSE if it does not.
* *
* @see ecore_evas_alpha_set() * @see ecore_evas_alpha_set()
*/ */
@ -269,8 +271,8 @@ EAPI Eina_Bool ecore_evas_alpha_get(const Ecore_Evas *ee);
* @brief Set whether an Ecore_Evas has an transparent window or not. * @brief Set whether an Ecore_Evas has an transparent window or not.
* *
* @param ee The Ecore_Evas to shape * @param ee The Ecore_Evas to shape
* @param transparent EINA_TRUE to enable the transparent window, EINA_FALSE to * @param transparent @c EINA_TRUE to enable the transparent window,
* disable it * @c EINA_FALSE to disable it
* *
* This function sets some translucency options, for more complete support see * This function sets some translucency options, for more complete support see
* ecore_evas_alpha_set(). * ecore_evas_alpha_set().
@ -284,7 +286,7 @@ EAPI void ecore_evas_transparent_set(Ecore_Evas *ee, Eina_Bool transparen
* @brief Query whether an Ecore_Evas is transparent. * @brief Query whether an Ecore_Evas is transparent.
* *
* @param ee The Ecore_Evas to query. * @param ee The Ecore_Evas to query.
* @return EINA_TRUE if ee is transparent, EINA_FALSE if it isn't. * @return @c EINA_TRUE if ee is transparent, @c EINA_FALSE if it isn't.
* *
* @see ecore_evas_transparent_set() * @see ecore_evas_transparent_set()
*/ */
@ -300,7 +302,7 @@ EAPI Eina_Bool ecore_evas_transparent_get(const Ecore_Evas *ee);
* *
* This function takes four pointers to (already allocated) ints, and places * This function takes four pointers to (already allocated) ints, and places
* the geometry of @p ee in them. If any of the parameters is not desired you * the geometry of @p ee in them. If any of the parameters is not desired you
* may pass NULL on them. * may pass @c NULL on them.
* *
* @code * @code
* int x, y, w, h; * int x, y, w, h;
@ -323,11 +325,12 @@ EAPI void ecore_evas_geometry_get(const Ecore_Evas *ee, int *x, int *y, i
* @param h A pointer to an int to place the h size in * @param h A pointer to an int to place the h size in
* *
* This function takes four pointers to (already allocated) ints, and places * This function takes four pointers to (already allocated) ints, and places
* the geometry which @p ee was latest recently requested . If any of the parameters is not desired you * the geometry which @p ee was latest recently requested . If any of the
* may pass NULL on them. * parameters is not desired you may pass @c NULL on them.
* This function can represent recently requested geometry. * This function can represent recently requested geometry.
* ecore_evas_geometry_get function returns the value is updated after engine finished request. * ecore_evas_geometry_get function returns the value is updated after engine
* By comparison, ecore_evas_request_geometry_get returns recently requested value. * finished request. By comparison, ecore_evas_request_geometry_get returns
* recently requested value.
* *
* @code * @code
* int x, y, w, h; * int x, y, w, h;
@ -341,10 +344,10 @@ EAPI void ecore_evas_request_geometry_get(const Ecore_Evas *ee, int *x, i
* @brief Set the focus of an Ecore_Evas' window. * @brief Set the focus of an Ecore_Evas' window.
* *
* @param ee The Ecore_Evas * @param ee The Ecore_Evas
* @param on EINA_TRUE for focus, EINA_FALSE to defocus. * @param on @c EINA_TRUE for focus, @c EINA_FALSE to defocus.
* *
* This function focuses @p ee if @p on is EINA_TRUE, or unfocuses @p ee if @p * This function focuses @p ee if @p on is @c EINA_TRUE, or unfocuses @p ee if
* on is EINA_FALSE. * @p on is @c EINA_FALSE.
* *
* @warning Support for this depends on the underlying windowing system. * @warning Support for this depends on the underlying windowing system.
*/ */
@ -353,7 +356,7 @@ EAPI void ecore_evas_focus_set(Ecore_Evas *ee, Eina_Bool on);
* @brief Query whether an Ecore_Evas' window is focused or not. * @brief Query whether an Ecore_Evas' window is focused or not.
* *
* @param ee The Ecore_Evas to set * @param ee The Ecore_Evas to set
* @return EINA_TRUE if @p ee if focused, EINA_FALSE if not. * @return @c EINA_TRUE if @p ee if focused, @c EINA_FALSE if not.
* *
* @see ecore_evas_focus_set() * @see ecore_evas_focus_set()
*/ */
@ -362,10 +365,10 @@ EAPI Eina_Bool ecore_evas_focus_get(const Ecore_Evas *ee);
* @brief Iconify or uniconify an Ecore_Evas' window. * @brief Iconify or uniconify an Ecore_Evas' window.
* *
* @param ee The Ecore_Evas * @param ee The Ecore_Evas
* @param on EINA_TRUE to iconify, EINA_FALSE to uniconify. * @param on @c EINA_TRUE to iconify, @c EINA_FALSE to uniconify.
* *
* This function iconifies @p ee if @p on is EINA_TRUE, or uniconifies @p ee if * This function iconifies @p ee if @p on is @c EINA_TRUE, or uniconifies @p ee
* @p on is EINA_FALSE. * if @p on is @c EINA_FALSE.
* *
* @note Iconify and minimize are synonyms. * @note Iconify and minimize are synonyms.
* *
@ -376,7 +379,7 @@ EAPI void ecore_evas_iconified_set(Ecore_Evas *ee, Eina_Bool on);
* @brief Query whether an Ecore_Evas' window is iconified or not. * @brief Query whether an Ecore_Evas' window is iconified or not.
* *
* @param ee The Ecore_Evas to set * @param ee The Ecore_Evas to set
* @return EINA_TRUE if @p ee is iconified, EINA_FALSE if not. * @return @c EINA_TRUE if @p ee is iconified, @c EINA_FALSE if not.
* *
* @note Iconify and minimize are synonyms. * @note Iconify and minimize are synonyms.
* *
@ -387,10 +390,10 @@ EAPI Eina_Bool ecore_evas_iconified_get(const Ecore_Evas *ee);
* @brief Set whether an Ecore_Evas' window is borderless or not. * @brief Set whether an Ecore_Evas' window is borderless or not.
* *
* @param ee The Ecore_Evas * @param ee The Ecore_Evas
* @param on EINA_TRUE for borderless, EINA_FALSE for bordered. * @param on @c EINA_TRUE for borderless, @c EINA_FALSE for bordered.
* *
* This function makes @p ee borderless if @p on is EINA_TRUE, or bordered if @p * This function makes @p ee borderless if @p on is @c EINA_TRUE, or bordered
* on is EINA_FALSE. * if @p on is @c EINA_FALSE.
* *
* @warning Support for this depends on the underlying windowing system. * @warning Support for this depends on the underlying windowing system.
*/ */
@ -399,7 +402,7 @@ EAPI void ecore_evas_borderless_set(Ecore_Evas *ee, Eina_Bool on);
* @brief Query whether an Ecore_Evas' window is borderless or not. * @brief Query whether an Ecore_Evas' window is borderless or not.
* *
* @param ee The Ecore_Evas to set * @param ee The Ecore_Evas to set
* @return EINA_TRUE if @p ee is borderless, EINA_FALSE if not. * @return @c EINA_TRUE if @p ee is borderless, @c EINA_FALSE if not.
* *
* @see ecore_evas_borderless_set() * @see ecore_evas_borderless_set()
*/ */
@ -408,10 +411,10 @@ EAPI Eina_Bool ecore_evas_borderless_get(const Ecore_Evas *ee);
* @brief Set whether or not an Ecore_Evas' window is fullscreen. * @brief Set whether or not an Ecore_Evas' window is fullscreen.
* *
* @param ee The Ecore_Evas * @param ee The Ecore_Evas
* @param on EINA_TRUE fullscreen, EINA_FALSE not. * @param on @c EINA_TRUE fullscreen, @c EINA_FALSE not.
* *
* This function causes @p ee to be fullscreen if @p on is EINA_TRUE, * This function causes @p ee to be fullscreen if @p on is @c EINA_TRUE, or
* or not if @p on is EINA_FALSE. * not if @p on is @c EINA_FALSE.
* *
* @warning Support for this depends on the underlying windowing system. * @warning Support for this depends on the underlying windowing system.
*/ */
@ -420,7 +423,7 @@ EAPI void ecore_evas_fullscreen_set(Ecore_Evas *ee, Eina_Bool on);
* @brief Query whether an Ecore_Evas' window is fullscreen or not. * @brief Query whether an Ecore_Evas' window is fullscreen or not.
* *
* @param ee The Ecore_Evas to set * @param ee The Ecore_Evas to set
* @return EINA_TRUE if @p ee is fullscreen, EINA_FALSE if not. * @return @c EINA_TRUE if @p ee is fullscreen, @c EINA_FALSE if not.
* *
* @see ecore_evas_fullscreen_set() * @see ecore_evas_fullscreen_set()
*/ */
@ -431,7 +434,7 @@ EAPI Eina_Bool ecore_evas_fullscreen_get(const Ecore_Evas *ee);
* @param ee The Ecore_Evas * @param ee The Ecore_Evas
* @param ee_group The other group member * @param ee_group The other group member
* *
* If @p ee_group is NULL, @p ee is removed from the group, otherwise it is * If @p ee_group is @c NULL, @p ee is removed from the group, otherwise it is
* added. Note that if you free the @p ee_group canvas before @p ee, then * added. Note that if you free the @p ee_group canvas before @p ee, then
* getting the group canvas with ecore_evas_window_group_get() will return * getting the group canvas with ecore_evas_window_group_get() will return
* an invalid handle. * an invalid handle.
@ -639,10 +642,10 @@ EAPI int ecore_evas_layer_get(const Ecore_Evas *ee);
* @brief Maximize (or unmaximize) an Ecore_Evas' window. * @brief Maximize (or unmaximize) an Ecore_Evas' window.
* *
* @param ee The Ecore_Evas * @param ee The Ecore_Evas
* @param on EINA_TRUE to maximize, EINA_FALSE to unmaximize. * @param on @c EINA_TRUE to maximize, @c EINA_FALSE to unmaximize.
* *
* This function maximizes @p ee if @p on is EINA_TRUE, or unmaximizes @p ee * This function maximizes @p ee if @p on is @c EINA_TRUE, or unmaximizes @p ee
* if @p on is EINA_FALSE. * if @p on is @c EINA_FALSE.
* *
* @warning Support for this depends on the underlying windowing system. * @warning Support for this depends on the underlying windowing system.
*/ */
@ -651,7 +654,7 @@ EAPI void ecore_evas_maximized_set(Ecore_Evas *ee, Eina_Bool on);
* @brief Query whether an Ecore_Evas' window is maximized or not. * @brief Query whether an Ecore_Evas' window is maximized or not.
* *
* @param ee The Ecore_Evas to set * @param ee The Ecore_Evas to set
* @return EINA_TRUE if @p ee is maximized, EINA_FALSE if not. * @return @c EINA_TRUE if @p ee is maximized, @c EINA_FALSE if not.
* *
* @see ecore_evas_maximized_set() * @see ecore_evas_maximized_set()
*/ */
@ -823,6 +826,7 @@ EAPI void ecore_evas_name_class_get(const Ecore_Evas *ee, const char **n,
* @brief Returns a pointer to the underlying window. * @brief Returns a pointer to the underlying window.
* *
* @param ee The Ecore_Evas whose window is desired. * @param ee The Ecore_Evas whose window is desired.
* @return A pointer to the underlying window.
* *
* @warning Support for this depends on the underlying windowing system. * @warning Support for this depends on the underlying windowing system.
*/ */
@ -1166,7 +1170,7 @@ EAPI const char *ecore_evas_engine_name_get(const Ecore_Evas *ee);
* @brief Return the Ecore_Evas for this Evas * @brief Return the Ecore_Evas for this Evas
* *
* @param e The Evas to get the Ecore_Evas from * @param e The Evas to get the Ecore_Evas from
* @return The Ecore_Evas that holds this Evas, or NULL if not held by one. * @return The Ecore_Evas that holds this Evas, or @c NULL if not held by one.
* *
* @warning Only use on Evas' created with ecore evas! * @warning Only use on Evas' created with ecore evas!
*/ */
@ -1188,7 +1192,7 @@ EAPI void ecore_evas_free(Ecore_Evas *ee);
* This function retrieves user specific data that has been stored within an * This function retrieves user specific data that has been stored within an
* Ecore_Evas structure with ecore_evas_data_set(). * Ecore_Evas structure with ecore_evas_data_set().
* *
* @returns NULL on error or no data found, A pointer to the user data on * @returns @c NULL on error or no data found, A pointer to the user data on
* success. * success.
* *
* @see ecore_evas_data_set() * @see ecore_evas_data_set()
@ -1649,10 +1653,10 @@ EAPI Eina_Bool ecore_evas_comp_sync_get(const Ecore_Evas *ee);
* @brief Get geometry of screen associated with this Ecore_Evas. * @brief Get geometry of screen associated with this Ecore_Evas.
* *
* @param ee The Ecore_Evas whose window's to query container screen geometry. * @param ee The Ecore_Evas whose window's to query container screen geometry.
* @param x where to return the horizontal offset value. May be NULL. * @param x where to return the horizontal offset value. May be @c NULL.
* @param y where to return the vertical offset value. May be NULL. * @param y where to return the vertical offset value. May be @c NULL.
* @param w where to return the width value. May be NULL. * @param w where to return the width value. May be @c NULL.
* @param h where to return the height value. May be NULL. * @param h where to return the height value. May be @c NULL.
* *
* @since 1.1 * @since 1.1
*/ */
@ -1667,7 +1671,7 @@ EAPI Eina_Bool ecore_evas_draw_frame_get(const Ecore_Evas *ee);
* @param ee The Ecore_Evas to associate to @a obj * @param ee The Ecore_Evas to associate to @a obj
* @param obj The object to associate to @a ee * @param obj The object to associate to @a ee
* @param flags The association flags. * @param flags The association flags.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* Association means that operations on one will affect the other, for * Association means that operations on one will affect the other, for
* example moving the object will move the window, resize the object will * example moving the object will move the window, resize the object will
@ -1708,14 +1712,14 @@ EAPI Eina_Bool ecore_evas_object_associate(Ecore_Evas *ee, Evas_Object *obj,
* *
* @param ee The Ecore_Evas to dissociate from @a obj * @param ee The Ecore_Evas to dissociate from @a obj
* @param obj The object to dissociate from @a ee * @param obj The object to dissociate from @a ee
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool ecore_evas_object_dissociate(Ecore_Evas *ee, Evas_Object *obj); EAPI Eina_Bool ecore_evas_object_dissociate(Ecore_Evas *ee, Evas_Object *obj);
/** /**
* @brief Get the object associated with @p ee * @brief Get the object associated with @p ee
* *
* @param ee The Ecore_Evas to get the object from. * @param ee The Ecore_Evas to get the object from.
* @return The associated object, or NULL if there is no associated object. * @return The associated object, or @c NULL if there is no associated object.
*/ */
EAPI Evas_Object *ecore_evas_object_associate_get(const Ecore_Evas *ee); EAPI Evas_Object *ecore_evas_object_associate_get(const Ecore_Evas *ee);
@ -1757,13 +1761,15 @@ EAPI void ecore_evas_x11_shape_input_apply(Ecore_Evas *ee);
/** /**
* Sets the engine to be used by the backing store engine. * Sets the engine to be used by the backing store engine.
* *
* @return EINA_TRUE on success, EINA_FALSE if ews is already in use. * @return @c EINA_TRUE on success, @c EINA_FALSE if ews is already in use.
* @since 1.1 * @since 1.1
*/ */
EAPI Eina_Bool ecore_evas_ews_engine_set(const char *engine, const char *options); EAPI Eina_Bool ecore_evas_ews_engine_set(const char *engine, const char *options);
/** /**
* Reconfigure the backing store used. * Reconfigure the backing store used.
*
* @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* @since 1.1 * @since 1.1
*/ */
EAPI Eina_Bool ecore_evas_ews_setup(int x, int y, int w, int h); EAPI Eina_Bool ecore_evas_ews_setup(int x, int y, int w, int h);
@ -1771,6 +1777,7 @@ EAPI Eina_Bool ecore_evas_ews_setup(int x, int y, int w, int h);
/** /**
* Return the internal backing store in use. * Return the internal backing store in use.
* *
* @return The internal backing store in use.
* @note this will forced it to be created, making future calls to * @note this will forced it to be created, making future calls to
* ecore_evas_ews_engine_set() void. * ecore_evas_ews_engine_set() void.
* *
@ -1782,6 +1789,7 @@ EAPI Ecore_Evas *ecore_evas_ews_ecore_evas_get(void);
/** /**
* Return the internal backing store in use. * Return the internal backing store in use.
* *
* @return The internal backing store in use.
* @note this will forced it to be created, making future calls to * @note this will forced it to be created, making future calls to
* ecore_evas_ews_engine_set() void. * ecore_evas_ews_engine_set() void.
* *
@ -1809,7 +1817,8 @@ EAPI void ecore_evas_ews_background_set(Evas_Object *o);
/** /**
* Return all Ecore_Evas* created by EWS. * Return all Ecore_Evas* created by EWS.
* *
* @note do not change the returned list or its contents. * @return An eina list of Ecore_evases.
e @note Do not change the returned list or its contents.
* @since 1.1 * @since 1.1
*/ */
EAPI const Eina_List *ecore_evas_ews_children_get(void); EAPI const Eina_List *ecore_evas_ews_children_get(void);
@ -1886,10 +1895,10 @@ EAPI extern int ECORE_EVAS_EXTN_CLIENT_DEL; /**< this event is received when a p
* This creates a new extn_socket canvas wrapper, with image data array * This creates a new extn_socket canvas wrapper, with image data array
* @b bound to the ARGB format, 8 bits per pixel. * @b bound to the ARGB format, 8 bits per pixel.
* *
* If creation is successful, an Ecore_Evas handle is returned or NULL if creation * If creation is successful, an Ecore_Evas handle is returned or @c NULL if
* fails. Also focus, show, hide etc. callbacks * creation fails. Also focus, show, hide etc. callbacks will also be called
* will also be called if the plug object is shown, or already visible on * if the plug object is shown, or already visible on connect, or if it is
* connect, or if it is hidden later, focused or unfocused. * hidden later, focused or unfocused.
* *
* This function has to be flowed by ecore_evas_extn_socket_listen(), * This function has to be flowed by ecore_evas_extn_socket_listen(),
* for starting ecore ipc service. * for starting ecore ipc service.
@ -1959,17 +1968,23 @@ EAPI extern int ECORE_EVAS_EXTN_CLIENT_DEL; /**< this event is received when a p
EAPI Ecore_Evas *ecore_evas_extn_socket_new(int w, int h); EAPI Ecore_Evas *ecore_evas_extn_socket_new(int w, int h);
/** /**
* @brief Create a socket to provide the service for external ecore evas socket. * @brief Create a socket to provide the service for external ecore evas
* socket.
* *
* @param ee The Ecore_Evas * @param ee The Ecore_Evas.
* @param svcname The name of the service to be advertised. ensure that it is unique (when combined with @p svcnum) otherwise creation may fail. * @param svcname The name of the service to be advertised. ensure that it is
* @param svcnum A number (any value, 0 beig the common default) to differentiate multiple instances of services with the same name. * unique (when combined with @p svcnum) otherwise creation may fail.
* @param svcsys A boolean that if true, specifies to create a system-wide service all users can connect to, otherwise the service is private to the user ide that created the service. * @param svcnum A number (any value, @c 0 being the common default) to
* @return EINA_TRUE if creation is successful, EINA_FALSE if it does not. * differentiate multiple instances of services with the same name.
* @param svcsys A boolean that if true, specifies to create a system-wide
* service all users can connect to, otherwise the service is private to the
* user ide that created the service.
* @return @c EINA_TRUE if creation is successful, @c EINA_FALSE if it does
* not.
* *
* This creates socket specified by @p svcname, @p svcnum and @p svcsys. If creation * This creates socket specified by @p svcname, @p svcnum and @p svcsys. If
* is successful, EINA_TRUE is returned or EINA_FALSE if creation * creation is successful, @c EINA_TRUE is returned or @c EINA_FALSE if
* fails. * creation fails.
* *
* @see ecore_evas_extn_socket_new() * @see ecore_evas_extn_socket_new()
* @see ecore_evas_extn_plug_new() * @see ecore_evas_extn_plug_new()
@ -2051,14 +2066,17 @@ EAPI void ecore_evas_extn_plug_object_data_unlock(Evas_Object *obj);
EAPI Evas_Object *ecore_evas_extn_plug_new(Ecore_Evas *ee_target); EAPI Evas_Object *ecore_evas_extn_plug_new(Ecore_Evas *ee_target);
/** /**
* @brief Connect a external ecore evas plug to service provided by external ecore evas socket * @brief Connect an external ecore evas plug to service provided by external
* ecore evas socket.
* *
* @param obj The Ecore_Evas containing the canvas in which the new image object will live. * @param obj The Ecore_Evas containing the canvas in which the new image
* object will live.
* @param svcname The service name to connect to set up by the socket. * @param svcname The service name to connect to set up by the socket.
* @param svcnum The service number to connect to (set up by socket). * @param svcnum The service number to connect to (set up by socket).
* @param svcsys Booleain to set if the service is a system one or not (set up by socket). * @param svcsys Boolean to set if the service is a system one or not (set up
* @return EINA_TRUE if creation is successful, EINA_FALSE if it does not. * by socket).
* * @return @c EINA_TRUE if creation is successful, @c EINA_FALSE if it does
* not.
* *
* @see ecore_evas_extn_plug_new() * @see ecore_evas_extn_plug_new()
* *

View File

@ -1350,15 +1350,16 @@ ecore_evas_rotation_get(const Ecore_Evas *ee)
/** /**
* Set whether an Ecore_Evas is shaped or not. * Set whether an Ecore_Evas is shaped or not.
* @param ee The Ecore_Evas to shape *
* @param shaped EINA_TRUE to shape, EINA_FALSE to not * @param ee The Ecore_Evas to shape.
* @param shaped @c EINA_TRUE to shape, @c EINA_FALSE to not.
* *
* This function allows one to make an Ecore_Evas shaped to the contents of the * This function allows one to make an Ecore_Evas shaped to the contents of the
* evas. If @p shaped is EINA_TRUE, @p ee will be transparent in parts of the evas that * evas. If @p shaped is @c EINA_TRUE, @p ee will be transparent in parts of
* contain no objects. If @p shaped is EINA_FALSE, then @p ee will be rectangular, and * the evas that contain no objects. If @p shaped is @c EINA_FALSE, then @p ee
* and parts with no data will show random framebuffer artifacting. For * will be rectangular, and parts with no data will show random framebuffer
* non-shaped Ecore_Evases, it is recommend to cover the entire evas with a * artifacting. For non-shaped Ecore_Evases, it is recommended to cover the
* background object. * entire evas with a background object.
*/ */
EAPI void EAPI void
ecore_evas_shaped_set(Ecore_Evas *ee, Eina_Bool shaped) ecore_evas_shaped_set(Ecore_Evas *ee, Eina_Bool shaped)
@ -1375,10 +1376,11 @@ ecore_evas_shaped_set(Ecore_Evas *ee, Eina_Bool shaped)
/** /**
* Query whether an Ecore_Evas is shaped or not. * Query whether an Ecore_Evas is shaped or not.
* @param ee The Ecore_Evas to query.
* @return EINA_TRUE if shaped, EINA_FALSE if not.
* *
* This function returns EINA_TRUE if @p ee is shaped, and EINA_FALSE if not. * @param ee The Ecore_Evas to query.
* @return @c EINA_TRUE if shaped, @c EINA_FALSE if not.
*
* This function returns @c EINA_TRUE if @p ee is shaped, and @c EINA_FALSE if not.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_evas_shaped_get(const Ecore_Evas *ee) ecore_evas_shaped_get(const Ecore_Evas *ee)
@ -1909,11 +1911,12 @@ ecore_evas_borderless_get(const Ecore_Evas *ee)
/** /**
* Tell the WM whether or not to ignore an Ecore_Evas' window * Tell the WM whether or not to ignore an Ecore_Evas' window
* @param ee The Ecore_Evas
* @param on EINA_TRUE to ignore, EINA_FALSE to not.
* *
* This function causes the window manager to ignore @p ee if @p on is EINA_TRUE, * @param ee The Ecore_Evas.
* or not ignore @p ee if @p on is EINA_FALSE. * @param on @c EINA_TRUE to ignore, @c EINA_FALSE to not.
*
* This function causes the window manager to ignore @p ee if @p on is
* @c EINA_TRUE, or not ignore @p ee if @p on is @c EINA_FALSE.
*/ */
EAPI void EAPI void
ecore_evas_override_set(Ecore_Evas *ee, Eina_Bool on) ecore_evas_override_set(Ecore_Evas *ee, Eina_Bool on)
@ -1930,9 +1933,9 @@ ecore_evas_override_set(Ecore_Evas *ee, Eina_Bool on)
/** /**
* Query whether an Ecore_Evas' window is overridden or not * Query whether an Ecore_Evas' window is overridden or not
* @param ee The Ecore_Evas to set
* @return EINA_TRUE if @p ee is overridden, EINA_FALSE if not.
* *
* @param ee The Ecore_Evas to set.
* @return @c EINA_TRUE if @p ee is overridden, @c EINA_FALSE if not.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_evas_override_get(const Ecore_Evas *ee) ecore_evas_override_get(const Ecore_Evas *ee)

View File

@ -428,11 +428,12 @@ _ecore_fb_li_device_fd_callback(void *data, Ecore_Fd_Handler *fdh __UNUSED__)
* @brief Set the listen mode for an input device . * @brief Set the listen mode for an input device .
* *
* @param dev The device to set the mode of. * @param dev The device to set the mode of.
* @param listen EINA_FALSE to disable listening mode, EINA_TRUE to enable it. * @param listen @c EINA_FALSE to disable listening mode, @c EINA_TRUE to
* enable it.
* *
* This function enables or disables listening on the input device @p * This function enables or disables listening on the input device @p dev.
* dev. If @p listen is #EINA_FALSE, listening mode is disabled, if it * If @p listen is @c EINA_FALSE, listening mode is disabled, if it is
* is #EINA_TRUE, it is enabled. * @c EINA_TRUE, it is enabled.
*/ */
EAPI void EAPI void
ecore_fb_input_device_listen(Ecore_Fb_Input_Device *dev, Eina_Bool listen) ecore_fb_input_device_listen(Ecore_Fb_Input_Device *dev, Eina_Bool listen)

View File

@ -162,10 +162,10 @@ ecore_file_size(const char *file)
* @brief Check if the given file exists. * @brief Check if the given file exists.
* *
* @param file The name of the file. * @param file The name of the file.
* @return Return EINA_TRUE if the file exists, EINA_FALSE otherwise. * @return @c EINA_TRUE if the @p file exists, @c EINA_FALSE otherwise.
* *
* This function returns EINA_TRUE if @p file exists on local filesystem, * This function returns @c EINA_TRUE if @p file exists on local filesystem,
* EINA_FALSE otherwise. * @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_exists(const char *file) ecore_file_exists(const char *file)
@ -182,11 +182,11 @@ ecore_file_exists(const char *file)
* @brief Check if the given file is a directory. * @brief Check if the given file is a directory.
* *
* @param file The name of the file. * @param file The name of the file.
* @return Return EINA_TRUE if the file exists and is a directory, * @return @c EINA_TRUE if the file exists and is a directory, @c EINA_FALSE
* EINA_FALSE otherwise. * otherwise.
* *
* This function returns EINA_TRUE if @p file exists exists and is a * This function returns @c EINA_TRUE if @p file exists exists and is a
* directory on local filesystem, EINA_FALSE otherwise. * directory on local filesystem, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_is_dir(const char *file) ecore_file_is_dir(const char *file)
@ -204,11 +204,11 @@ static mode_t default_mode = S_IRUSR | S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S
* @brief Create a new directory. * @brief Create a new directory.
* *
* @param dir The name of the directory to create * @param dir The name of the directory to create
* @return EINA_TRUE on successful creation, EINA_FALSE otherwise. * @return @c EINA_TRUE on successful creation, @c EINA_FALSE otherwise.
* *
* This function creates the directory @p dir with the mode S_IRUSR | * This function creates the directory @p dir with the mode S_IRUSR |
* S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH. On * S_IWUSR | S_IXUSR | S_IRGRP | S_IXGRP | S_IROTH | S_IXOTH. On
* success, it returns EINA_TRUE, EINA_FALSE otherwise. * success, it returns @c EINA_TRUE, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_mkdir(const char *dir) ecore_file_mkdir(const char *dir)
@ -342,10 +342,10 @@ ecore_file_mksubdirs(const char *base, const char **subdirs)
* @brief Delete the given directory. * @brief Delete the given directory.
* *
* @param dir The name of the directory to delete. * @param dir The name of the directory to delete.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* This function deletes @p dir. It returns EINA_TRUE on success, * This function deletes @p dir. It returns @c EINA_TRUE on success,
* EINA_FALSE otherwise. * @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_rmdir(const char *dir) ecore_file_rmdir(const char *dir)
@ -358,10 +358,10 @@ ecore_file_rmdir(const char *dir)
* @brief Delete the given file. * @brief Delete the given file.
* *
* @param file The name of the file to delete. * @param file The name of the file to delete.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* This function deletes @p file. It returns EINA_TRUE on success, * This function deletes @p file. It returns @c EINA_TRUE on success,
* EINA_FALSE otherwise. * @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_unlink(const char *file) ecore_file_unlink(const char *file)
@ -374,10 +374,10 @@ ecore_file_unlink(const char *file)
* @brief Remove the given file or directory. * @brief Remove the given file or directory.
* *
* @param file The name of the file or directory to delete. * @param file The name of the file or directory to delete.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* This function removes @p file. It returns EINA_TRUE on success, * This function removes @p file. It returns @c EINA_TRUE on success,
* EINA_FALSE otherwise. * @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_remove(const char *file) ecore_file_remove(const char *file)
@ -390,11 +390,11 @@ ecore_file_remove(const char *file)
* @brief Delete the given directory and all its contents. * @brief Delete the given directory and all its contents.
* *
* @param dir The name of the directory to delete. * @param dir The name of the directory to delete.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* This function delete @p dir and all its contents. If @p dir is a * This function delete @p dir and all its contents. If @p dir is a
* link only the link is removed. It returns EINA_TRUE on success, * link only the link is removed. It returns @c EINA_TRUE on success,
* EINA_FALSE otherwise. * @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_recursive_rm(const char *dir) ecore_file_recursive_rm(const char *dir)
@ -462,12 +462,12 @@ _ecore_file_mkpath_if_not_exists(const char *path)
* @brief Create a complete path. * @brief Create a complete path.
* *
* @param path The path to create * @param path The path to create
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* This function creates @p path and all the subdirectories it * This function creates @p path and all the subdirectories it
* contains. The separator is '/' or '\'. If @p path exists, this * contains. The separator is '/' or '\'. If @p path exists, this
* function returns EINA_TRUE immediately. It returns EINA_TRUE on * function returns @c EINA_TRUE immediately. It returns @c EINA_TRUE on
* success, EINA_FALSE otherwise. * success, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_mkpath(const char *path) ecore_file_mkpath(const char *path)
@ -523,12 +523,12 @@ ecore_file_mkpaths(const char **paths)
* *
* @param src The name of the source file. * @param src The name of the source file.
* @param dst The name of the destination file. * @param dst The name of the destination file.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* This function copies @p src to @p dst. If the absolute path name of * This function copies @p src to @p dst. If the absolute path name of
* @p src and @p dst can not be computed, or if they are equal, or if * @p src and @p dst can not be computed, or if they are equal, or if
* the copy fails, the function returns EINA_FALSE, otherwise it * the copy fails, the function returns @c EINA_FALSE, otherwise it
* returns EINA_TRUE. * returns @c EINA_TRUE.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_cp(const char *src, const char *dst) ecore_file_cp(const char *src, const char *dst)
@ -564,10 +564,10 @@ ecore_file_cp(const char *src, const char *dst)
* *
* @param src The name of the source file. * @param src The name of the source file.
* @param dst The name of the destination file. * @param dst The name of the destination file.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* This function moves @p src to @p dst. It returns EINA_TRUE on * This function moves @p src to @p dst. It returns @c EINA_TRUE on
* success, EINA_FALSE otherwise. * success, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_mv(const char *src, const char *dst) ecore_file_mv(const char *src, const char *dst)
@ -638,11 +638,11 @@ FAIL:
* *
* @param src The name of the file to link. * @param src The name of the file to link.
* @param dest The name of link. * @param dest The name of link.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* This function create the symbolic link @p dest of @p src. This * This function create the symbolic link @p dest of @p src. This
* function does not work on Windows. It returns EINA_TRUE on success, * function does not work on Windows. It returns @c EINA_TRUE on success,
* EINA_FALSE otherwise. * @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_symlink(const char *src, const char *dest) ecore_file_symlink(const char *src, const char *dest)
@ -727,9 +727,9 @@ ecore_file_dir_get(const char *file)
* @brief Check if the given file can be read. * @brief Check if the given file can be read.
* *
* @param file The name of the file. * @param file The name of the file.
* @return EINA_TRUE if the file is readable, EINA_FALSE otherwise. * @return @c EINA_TRUE if the @p file is readable, @c EINA_FALSE otherwise.
* *
* This function returns EINA_TRUE if @p file can be read, EINA_FALSE * This function returns @c EINA_TRUE if @p file can be read, @c EINA_FALSE
* otherwise. * otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -744,9 +744,9 @@ ecore_file_can_read(const char *file)
* @brief Check if the given file can be written. * @brief Check if the given file can be written.
* *
* @param file The name of the file. * @param file The name of the file.
* @return EINA_TRUE if the file is writable, EINA_FALSE otherwise. * @return @c EINA_TRUE if the @p file is writable, @c EINA_FALSE otherwise.
* *
* This function returns EINA_TRUE if @p file can be written, EINA_FALSE * This function returns @c EINA_TRUE if @p file can be written, @c EINA_FALSE
* otherwise. * otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -761,9 +761,10 @@ ecore_file_can_write(const char *file)
* @brief Check if the given file can be executed. * @brief Check if the given file can be executed.
* *
* @param file The name of the file. * @param file The name of the file.
* @return EINA_TRUE if the file can be executed, EINA_FALSE otherwise. * @return @c EINA_TRUE if the @p file can be executed, @c EINA_FALSE
* otherwise.
* *
* This function returns EINA_TRUE if @p file can be executed, EINA_FALSE * This function returns @c EINA_TRUE if @p file can be executed, @c EINA_FALSE
* otherwise. * otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -1042,7 +1043,7 @@ ecore_file_escape_name(const char *filename)
* *
* @param path The name of the file. * @param path The name of the file.
* @return A newly allocated string with the extension stripped out or * @return A newly allocated string with the extension stripped out or
* NULL on errors. * @c NULL on errors.
* *
* This function removes the extension from @p path and returns the * This function removes the extension from @p path and returns the
* result as a newly allocated string. If @p path is @c NULL, or on * result as a newly allocated string. If @p path is @c NULL, or on
@ -1077,12 +1078,12 @@ ecore_file_strip_ext(const char *path)
* @brief Check if the given directory is empty. * @brief Check if the given directory is empty.
* *
* @param dir The name of the directory to check. * @param dir The name of the directory to check.
* @return 1 if directory is empty, 0 if it has at least one file or * @return @c 1 if directory is empty, @c 0 if it has at least one file or
* -1 in case of errors. * @c -1 in case of errors.
* *
* This functions checks if @p dir is empty. The '.' and '..' files * This functions checks if @p dir is empty. The '.' and '..' files
* will be ignored. If @p dir is empty, 1 is returned, if it contains * will be ignored. If @p dir is empty, 1 is returned, if it contains
* at least 1 file, 0 is returned. On failure, -1 is returned. * at least one file, @c 0 is returned. On failure, @c -1 is returned.
*/ */
EAPI int EAPI int
ecore_file_dir_is_empty(const char *dir) ecore_file_dir_is_empty(const char *dir)

View File

@ -197,13 +197,13 @@ _ecore_file_download(const char *url,
* @param progress_cb A callback called during the download operation. * @param progress_cb A callback called during the download operation.
* @param data User data passed to both callbacks. * @param data User data passed to both callbacks.
* @param job_ret Job used to abort the download. * @param job_ret Job used to abort the download.
* @return EINA_TRUE if the download start or EINA_FALSE on failure * @return @c EINA_TRUE if the download start or @c EINA_FALSE on failure.
* *
* This function starts the download of the URL @p url and saves it to * This function starts the download of the URL @p url and saves it to
* @p dst. @p url must provide the protocol, including 'http://', * @p dst. @p url must provide the protocol, including 'http://',
* 'ftp://' or 'file://'. Ecore_File must be compiled with CURL to * 'ftp://' or 'file://'. Ecore_File must be compiled with CURL to
* download using http and ftp protocols. If @p dst is ill-formed, or * download using http and ftp protocols. If @p dst is ill-formed, or
* if it already exists, the function returns EINA_FALSE. When the * if it already exists, the function returns @c EINA_FALSE. When the
* download is complete, the callback @p completion_cb is called and * download is complete, the callback @p completion_cb is called and
* @p data is passed to it. The @p status parameter of @p completion_cb * @p data is passed to it. The @p status parameter of @p completion_cb
* will be filled with the status of the download (200, 404,...). The * will be filled with the status of the download (200, 404,...). The
@ -215,7 +215,7 @@ _ecore_file_download(const char *url,
* that case @p job_ret can be filled. It can be used with * that case @p job_ret can be filled. It can be used with
* ecore_file_download_abort() or ecore_file_download_abort_all() to * ecore_file_download_abort() or ecore_file_download_abort_all() to
* respectively abort one or all download operations. This function returns * respectively abort one or all download operations. This function returns
* EINA_TRUE if the download starts, EINA_FALSE otherwise. * @c EINA_TRUE if the download starts, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_download(const char *url, ecore_file_download(const char *url,
@ -238,7 +238,7 @@ ecore_file_download(const char *url,
* @param data User data passed to both callbacks. * @param data User data passed to both callbacks.
* @param job_ret Job used to abort the download. * @param job_ret Job used to abort the download.
* @param headers pointer of header lists. * @param headers pointer of header lists.
* @return EINA_TRUE if the download start or EINA_FALSE on failure * @return @c EINA_TRUE if the download start or @c EINA_FALSE on failure.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_download_full(const char *url, ecore_file_download_full(const char *url,
@ -256,10 +256,10 @@ ecore_file_download_full(const char *url,
* @brief Check if the given protocol is available. * @brief Check if the given protocol is available.
* *
* @param protocol The protocol to check. * @param protocol The protocol to check.
* @return EINA_TRUE if protocol is handled, EINA_FALSE otherwise. * @return @c EINA_TRUE if protocol is handled, @c EINA_FALSE otherwise.
* *
* This function returns EINA_TRUE if @p protocol is supported, * This function returns @c EINA_TRUE if @p protocol is supported,
* EINA_FALSE otherwise. @p protocol can be 'http://', 'ftp://' or * @c EINA_FALSE otherwise. @p protocol can be 'http://', 'ftp://' or
* 'file://'. Ecore_FILE must be compiled with CURL to handle http and * 'file://'. Ecore_FILE must be compiled with CURL to handle http and
* ftp protocols. * ftp protocols.
*/ */

View File

@ -87,12 +87,12 @@ _ecore_file_path_from_env(const char *env)
* @brief Check if the given directory is in PATH. * @brief Check if the given directory is in PATH.
* *
* @param in_dir The name of the directory to search in PATH. * @param in_dir The name of the directory to search in PATH.
* @return EINA_TRUE if the directory exist in PATH, EINA_FALSE otherwise. * @return @c EINA_TRUE if the directory exist in PATH, @c EINA_FALSE otherwise.
* *
* This function checks if @p in_dir is in the environment variable * This function checks if @p in_dir is in the environment variable
* PATH. If @p in_dir is @c NULL, or if PATH is empty, or @p in_dir is * PATH. If @p in_dir is @c NULL, or if PATH is empty, or @p in_dir is
* not in PATH, the function returns EINA_FALSE, otherwise it returns * not in PATH, the function returns @c EINA_FALSE, otherwise it returns
* EINA_TRUE. * @c EINA_TRUE.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_path_dir_exists(const char *in_dir) ecore_file_path_dir_exists(const char *in_dir)
@ -117,13 +117,12 @@ ecore_file_path_dir_exists(const char *in_dir)
* @brief Check if the given application is installed. * @brief Check if the given application is installed.
* *
* @param exe The name of the application * @param exe The name of the application
* @return EINA_TRUE if the exe is in PATH and is executable, * @return @c EINA_TRUE if the @p exe is in PATH and is executable,
* EINA_FALSE otherwise. * @c EINA_FALSE otherwise.
*
* *
* This function checks if @p exe exists in PATH and is executable. If * This function checks if @p exe exists in PATH and is executable. If
* @p exe is @c NULL or is not executable, the function returns * @p exe is @c NULL or is not executable, the function returns
* EINA_FALSE, otherwise it returns EINA_TRUE. * @c EINA_FALSE, otherwise it returns @c EINA_TRUE.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_file_app_installed(const char *exe) ecore_file_app_installed(const char *exe)

View File

@ -294,7 +294,7 @@ ecore_imf_context_del(Ecore_IMF_Context *ctx)
* also be used for purposes internal to the Input Method Context. * also be used for purposes internal to the Input Method Context.
* *
* @param ctx An #Ecore_IMF_Context. * @param ctx An #Ecore_IMF_Context.
* @param window The client window. This may be NULL to indicate * @param window The client window. This may be @c NULL to indicate
* that the previous client window no longer exists. * that the previous client window no longer exists.
* @ingroup Ecore_IMF_Context_Group * @ingroup Ecore_IMF_Context_Group
*/ */
@ -342,7 +342,7 @@ ecore_imf_context_client_window_get(Ecore_IMF_Context *ctx)
* also be used for purposes internal to the Input Method Context. * also be used for purposes internal to the Input Method Context.
* *
* @param ctx An #Ecore_IMF_Context. * @param ctx An #Ecore_IMF_Context.
* @param canvas The client canvas. This may be NULL to indicate * @param canvas The client canvas. This may be @c NULL to indicate
* that the previous client canvas no longer exists. * that the previous client canvas no longer exists.
* @ingroup Ecore_IMF_Context_Group * @ingroup Ecore_IMF_Context_Group
*/ */
@ -660,8 +660,8 @@ ecore_imf_context_cursor_location_set(Ecore_IMF_Context *ctx, int x, int y, int
/** /**
* Set whether the IM context should use the preedit string * Set whether the IM context should use the preedit string
* to display feedback. If @c use_preedit is EINA_FALSE (default * to display feedback. If @c use_preedit is @c EINA_FALSE (default
* is EINA_TRUE), then the IM context may use some other method to display * is @c EINA_TRUE), then the IM context may use some other method to display
* feedback, such as displaying it in a child of the root window. * feedback, such as displaying it in a child of the root window.
* *
* @param ctx An #Ecore_IMF_Context. * @param ctx An #Ecore_IMF_Context.
@ -682,7 +682,8 @@ ecore_imf_context_use_preedit_set(Ecore_IMF_Context *ctx, Eina_Bool use_preedit)
/** /**
* Set whether the IM context should allow to use the text prediction. * Set whether the IM context should allow to use the text prediction.
* If @c prediction is EINA_FALSE (default is EINA_TRUE), then the IM context will not display the text prediction window. * If @p prediction is @c EINA_FALSE (default is @c EINA_TRUE), then the IM
* context will not display the text prediction window.
* *
* @param ctx An #Ecore_IMF_Context. * @param ctx An #Ecore_IMF_Context.
* @param prediction Whether the IM context should allow to use the text prediction. * @param prediction Whether the IM context should allow to use the text prediction.
@ -709,7 +710,8 @@ ecore_imf_context_prediction_allow_set(Ecore_IMF_Context *ctx, Eina_Bool predict
* Get whether the IM context should allow to use the text prediction. * Get whether the IM context should allow to use the text prediction.
* *
* @param ctx An #Ecore_IMF_Context. * @param ctx An #Ecore_IMF_Context.
* @return EINA_TRUE if it allows to use the text prediction, otherwise EINA_FALSE. * @return @c EINA_TRUE if it allows to use the text prediction, otherwise
* @c EINA_FALSE.
* @ingroup Ecore_IMF_Context_Group * @ingroup Ecore_IMF_Context_Group
* @since 1.1.0 * @since 1.1.0
*/ */
@ -842,17 +844,17 @@ ecore_imf_context_input_mode_get(Ecore_IMF_Context *ctx)
/** /**
* Allow an Ecore Input Context to internally handle an event. * Allow an Ecore Input Context to internally handle an event.
* If this function returns EINA_TRUE, then no further processing * If this function returns @c EINA_TRUE, then no further processing
* should be done for this event. * should be done for this event.
* *
* Input methods must be able to accept all types of events (simply * Input methods must be able to accept all types of events (simply
* returning EINA_FALSE if the event was not handled), but there is no * returning @c EINA_FALSE if the event was not handled), but there is no
* obligation of any events to be submitted to this function. * obligation of any events to be submitted to this function.
* *
* @param ctx An #Ecore_IMF_Context. * @param ctx An #Ecore_IMF_Context.
* @param type The type of event defined by #Ecore_IMF_Event_Type. * @param type The type of event defined by #Ecore_IMF_Event_Type.
* @param event The event itself. * @param event The event itself.
* @return EINA_TRUE if the event was handled; otherwise EINA_FALSE. * @return @c EINA_TRUE if the event was handled; otherwise @c EINA_FALSE.
* @ingroup Ecore_IMF_Context_Group * @ingroup Ecore_IMF_Context_Group
* *
* Example * Example
@ -983,11 +985,12 @@ EAPI void *ecore_imf_context_data_get(Ecore_IMF_Context *ctx)
* @param ctx An #Ecore_IMF_Context. * @param ctx An #Ecore_IMF_Context.
* @param text Location to store a UTF-8 encoded string of text * @param text Location to store a UTF-8 encoded string of text
* holding context around the insertion point. * holding context around the insertion point.
* If the function returns EINA_TRUE, then you must free * If the function returns @c EINA_TRUE, then you must free
* the result stored in this location with free(). * the result stored in this location with free().
* @param cursor_pos Location to store the position in characters of * @param cursor_pos Location to store the position in characters of
* the insertion cursor within @p text. * the insertion cursor within @p text.
* @return EINA_TRUE if surrounding text was provided; otherwise EINA_FALSE. * @return @c EINA_TRUE if surrounding text was provided; otherwise
* @c EINA_FALSE.
* @ingroup Ecore_IMF_Context_Module_Group * @ingroup Ecore_IMF_Context_Module_Group
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -1668,7 +1671,7 @@ ecore_imf_context_input_panel_return_key_disabled_set(Ecore_IMF_Context *ctx, Ei
* Get whether the return key on the input panel should be disabled or not. * Get whether the return key on the input panel should be disabled or not.
* *
* @param ctx An #Ecore_IMF_Context. * @param ctx An #Ecore_IMF_Context.
* @return EINA_TRUE if it should be disabled * @return @c EINA_TRUE if it should be disabled.
* @ingroup Ecore_IMF_Context_Group * @ingroup Ecore_IMF_Context_Group
* @since 1.2.0 * @since 1.2.0
*/ */
@ -1689,7 +1692,7 @@ ecore_imf_context_input_panel_return_key_disabled_get(Ecore_IMF_Context *ctx)
* Set the caps lock mode on the input panel. * Set the caps lock mode on the input panel.
* *
* @param ctx An #Ecore_IMF_Context. * @param ctx An #Ecore_IMF_Context.
* @param mode Turn on caps lock on the input panel if EINA_TRUE * @param mode Turn on caps lock on the input panel if @c EINA_TRUE.
* @ingroup Ecore_IMF_Context_Group * @ingroup Ecore_IMF_Context_Group
* @since 1.2.0 * @since 1.2.0
*/ */
@ -1713,7 +1716,7 @@ ecore_imf_context_input_panel_caps_lock_mode_set(Ecore_IMF_Context *ctx, Eina_Bo
* Get the caps lock mode on the input panel. * Get the caps lock mode on the input panel.
* *
* @param ctx An #Ecore_IMF_Context. * @param ctx An #Ecore_IMF_Context.
* @return EINA_TRUE if the caps lock is turned on. * @return @c EINA_TRUE if the caps lock is turned on.
* @ingroup Ecore_IMF_Context_Group * @ingroup Ecore_IMF_Context_Group
* @since 1.2.0 * @since 1.2.0
*/ */

View File

@ -504,7 +504,7 @@ ecore_ipc_server_data_get(Ecore_Ipc_Server *svr)
/** /**
* Retrieves whether the given IPC server is currently connected. * Retrieves whether the given IPC server is currently connected.
* @param svr The given IPC server. * @param svr The given IPC server.
* @return #EINA_TRUE if the server is connected. #EINA_FALSE otherwise. * @return @c EINA_TRUE if the server is connected, @c EINA_FALSE otherwise.
* @ingroup Ecore_IPC_Server_Group * @ingroup Ecore_IPC_Server_Group
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -971,7 +971,8 @@ ecore_ipc_client_data_size_max_get(Ecore_Ipc_Client *cl)
* @return A pointer to an internal string that contains the IP address of * @return A pointer to an internal string that contains the IP address of
* the connected server in the form "XXX.YYY.ZZZ.AAA" IP notation. * the connected server in the form "XXX.YYY.ZZZ.AAA" IP notation.
* This string should not be modified or trusted to stay valid after * This string should not be modified or trusted to stay valid after
* deletion for the @p cl object. If no IP is known NULL is returned. * deletion for the @p cl object. If no IP is known @c NULL is
* returned.
* @ingroup Ecore_Ipc_Client_Group * @ingroup Ecore_Ipc_Client_Group
*/ */
EAPI const char * EAPI const char *

View File

@ -103,12 +103,12 @@ ecore_win32_dnd_shutdown()
* *
* @param data The name pf the Drag operation. * @param data The name pf the Drag operation.
* @param size The size of the name. * @param size The size of the name.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* This function start a Drag operation with the name @p data. If * This function start a Drag operation with the name @p data. If
* @p data is @c NULL, EINA_FALSE is returned. if @p size is less than * @p data is @c NULL, @c EINA_FALSE is returned. if @p size is less than
* 0, it is set to the length (as strlen()) of @p data. On success the * @c 0, it is set to the length (as strlen()) of @p data. On success the
* function returns EINA_TRUE, otherwise it returns EINA_FALSE. * function returns @c EINA_TRUE, otherwise it returns @c EINA_FALSE.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_win32_dnd_begin(const char *data, ecore_win32_dnd_begin(const char *data,
@ -174,12 +174,12 @@ ecore_win32_dnd_begin(const char *data,
* @param window The destination of the Drop operation. * @param window The destination of the Drop operation.
* @param callback The callback called when the Drop operation * @param callback The callback called when the Drop operation
* finishes. * finishes.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* *
* This function register a Drop operation on @p window. Once the Drop * This function register a Drop operation on @p window. Once the Drop
* operation finishes, @p callback is called. If @p window is @c NULL, * operation finishes, @p callback is called. If @p window is @c NULL,
* the function returns EINA_FALSE. On success, it returns EINA_TRUE, * the function returns @c EINA_FALSE. On success, it returns @c EINA_TRUE,
* otherwise it returns EINA_FALSE. * otherwise it returns @c EINA_FALSE.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_win32_dnd_register_drop_target(Ecore_Win32_Window *window, ecore_win32_dnd_register_drop_target(Ecore_Win32_Window *window,

View File

@ -926,13 +926,13 @@ ecore_win32_window_focus_get(void)
* @brief Iconify or restore the given window. * @brief Iconify or restore the given window.
* *
* @param window The window. * @param window The window.
* @param on EINA_TRUE to iconify the window, EINA_FALSE to restore it. * @param on @c EINA_TRUE to iconify the window, @c EINA_FALSE to restore it.
* *
* This function iconify or restore @p window. If @p on * This function iconify or restore @p window. If @p on is set to @c EINA_TRUE,
* is set to EINA_TRUE, the window will be iconified, if it is set to * the window will be iconified, if it is set to @c EINA_FALSE, it will be
* EINA_FALSE, it will be restored. If @p window is @c NULL or if the * restored. If @p window is @c NULL or if the state does not change (like
* state does not change (like iconifying the window while it is * iconifying the window while it is already iconified), this function does
* already iconified), this function does nothing. * nothing.
*/ */
EAPI void EAPI void
ecore_win32_window_iconified_set(Ecore_Win32_Window *window, ecore_win32_window_iconified_set(Ecore_Win32_Window *window,
@ -954,13 +954,13 @@ ecore_win32_window_iconified_set(Ecore_Win32_Window *window,
* @brief Remove or restore the border of the given window. * @brief Remove or restore the border of the given window.
* *
* @param window The window. * @param window The window.
* @param on EINA_TRUE to remove the border, EINA_FALSE to restore it. * @param on @c EINA_TRUE to remove the border, @c EINA_FALSE to restore it.
* *
* This function remove or restore the border of @p window. If @p on * This function remove or restore the border of @p window. If @p on is set to
* is set to EINA_TRUE, the window will have no border, if it is set to * @c EINA_TRUE, the window will have no border, if it is set to @c EINA_FALSE,
* EINA_FALSE, it will have a border. If @p window is @c NULL or if the * it will have a border. If @p window is @c NULL or if the state does not
* state does not change (like setting to borderless while the window * change (like setting to borderless while the window has no border), this
* has no border), this function does nothing. * function does nothing.
*/ */
EAPI void EAPI void
ecore_win32_window_borderless_set(Ecore_Win32_Window *window, ecore_win32_window_borderless_set(Ecore_Win32_Window *window,
@ -1030,13 +1030,13 @@ ecore_win32_window_borderless_set(Ecore_Win32_Window *window,
* @brief Set the given window to fullscreen. * @brief Set the given window to fullscreen.
* *
* @param window The window. * @param window The window.
* @param on EINA_TRUE for fullscreen mode, EINA_FALSE for windowed mode. * @param on @c EINA_TRUE for fullscreen mode, @c EINA_FALSE for windowed mode.
* *
* This function set @p window to fullscreen or windowed mode. If @p on * This function set @p window to fullscreen or windowed mode. If @p on is set
* is set to EINA_TRUE, the window will be fullscreen, if it is set to * to @c EINA_TRUE, the window will be fullscreen, if it is set to
* EINA_FALSE, it will be windowed. If @p window is @c NULL or if the * @c EINA_FALSE, it will be windowed. If @p window is @c NULL or if the state
* state does not change (like setting to fullscreen while the window * does not change (like setting to fullscreen while the window is already
* is already fullscreen), this function does nothing. * fullscreen), this function does nothing.
*/ */
EAPI void EAPI void
ecore_win32_window_fullscreen_set(Ecore_Win32_Window *window, ecore_win32_window_fullscreen_set(Ecore_Win32_Window *window,

View File

@ -696,13 +696,13 @@ ecore_wince_window_size_get(Ecore_WinCE_Window *window,
* @brief Set the given window to fullscreen. * @brief Set the given window to fullscreen.
* *
* @param window The window. * @param window The window.
* @param on EINA_TRUE for fullscreen mode, EINA_FALSE for windowed mode. * @param on @c EINA_TRUE for fullscreen mode, @c EINA_FALSE for windowed mode.
* *
* This function set @p window to fullscreen or windowed mode. If @p on * This function set @p window to fullscreen or windowed mode. If @p on is set
* is set to EINA_TRUE, the window will be fullscreen, if it is set to * to @c EINA_TRUE, the window will be fullscreen, if it is set to
* EINA_FALSE, it will be windowed. If @p window is @c NULL or if the * @c EINA_FALSE, it will be windowed. If @p window is @c NULL or if the state
* state does not change (like setting to fullscreen while the window * does not change (like setting to fullscreen while the window is already
* is already fullscreen), this function does nothing. * fullscreen), this function does nothing.
*/ */
EAPI void EAPI void
ecore_wince_window_fullscreen_set(Ecore_WinCE_Window *window, ecore_wince_window_fullscreen_set(Ecore_WinCE_Window *window,

View File

@ -2962,9 +2962,9 @@ ecore_x_randr_output_crtc_set(Ecore_X_Window root,
/* /*
* @brief Validates the header from raw EDID data. * @brief Validates the header from raw EDID data.
* *
* @param edid the edid structure * @param edid The edid structure.
* @param edid_length length of the edid structure * @param edid_length Length of the edid structure.
* @return EINA_TRUE, if the header is valid. Else EINA_FALSE. * @return @c EINA_TRUE, if the header is valid, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_edid_has_valid_header(unsigned char *edid, ecore_x_randr_edid_has_valid_header(unsigned char *edid,
@ -2973,9 +2973,9 @@ ecore_x_randr_edid_has_valid_header(unsigned char *edid,
/* /*
* @brief Checks whether a display's EDID has a valid checksum. * @brief Checks whether a display's EDID has a valid checksum.
* *
* @param edid the edid structure * @param edid The edid structure.
* @param edid_length length of the edid structure * @param edid_length Length of the edid structure.
* @return EINA_TRUE, if the checksum is valid. Else EINA_FALSE. * @return @c EINA_TRUE, if the checksum is valid, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_edid_info_has_valid_checksum(unsigned char *edid, ecore_x_randr_edid_info_has_valid_checksum(unsigned char *edid,
@ -3080,9 +3080,10 @@ ecore_x_randr_edid_manufacturer_model_get(unsigned char *edid,
/* /*
* @brief Looks up the DPMS support from raw EDID data. * @brief Looks up the DPMS support from raw EDID data.
* *
* @param edid the edid structure * @param edid The edid structure.
* @param edid_length length of the edid structure * @param edid_length Length of the edid structure.
* @return EINA_TRUE, if DPMS is supported in some way. Else EINA_FALSE. * @return @c EINA_TRUE, if DPMS is supported in some way, @c EINA_FALSE
* otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_edid_dpms_available_get(unsigned char *edid, ecore_x_randr_edid_dpms_available_get(unsigned char *edid,
@ -3091,9 +3092,9 @@ ecore_x_randr_edid_dpms_available_get(unsigned char *edid,
/* /*
* @brief Looks up the DPMS Standby support from raw EDID data. * @brief Looks up the DPMS Standby support from raw EDID data.
* *
* @param edid the edid structure * @param edid The edid structure.
* @param edid_length length of the edid structure * @param edid_length Length of the edid structure.
* @return EINA_TRUE, if DPMS Standby is supported. Else EINA_FALSE. * @return @c EINA_TRUE, if DPMS Standby is supported, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_edid_dpms_standby_available_get(unsigned char *edid, ecore_x_randr_edid_dpms_standby_available_get(unsigned char *edid,
@ -3102,9 +3103,9 @@ ecore_x_randr_edid_dpms_standby_available_get(unsigned char *edid,
/* /*
* @brief Looks up the DPMS Suspend support from raw EDID data. * @brief Looks up the DPMS Suspend support from raw EDID data.
* *
* @param edid the edid structure * @param edid The edid structure.
* @param edid_length length of the edid structure * @param edid_length Length of the edid structure.
* @return EINA_TRUE, if DPMS Suspend is supported. Else EINA_FALSE. * @return @c EINA_TRUE, if DPMS Suspend is supported, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_edid_dpms_suspend_available_get(unsigned char *edid, ecore_x_randr_edid_dpms_suspend_available_get(unsigned char *edid,
@ -3113,9 +3114,9 @@ ecore_x_randr_edid_dpms_suspend_available_get(unsigned char *edid,
/* /*
* @brief Looks up the DPMS Off support from raw EDID data. * @brief Looks up the DPMS Off support from raw EDID data.
* *
* @param edid the edid structure * @param edid The edid structure.
* @param edid_length length of the edid structure * @param edid_length Length of the edid structure.
* @return EINA_TRUE, if DPMS Off is supported. Else EINA_FALSE. * @return @c EINA_TRUE, if DPMS Off is supported, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_edid_dpms_off_available_get(unsigned char *edid, ecore_x_randr_edid_dpms_off_available_get(unsigned char *edid,
@ -3157,9 +3158,10 @@ ecore_x_randr_edid_display_colorscheme_get(unsigned char *edid,
/* /*
* @brief Get the display type from raw EDID data. * @brief Get the display type from raw EDID data.
* *
* @param edid the edid structure * @param edid The edid structure.
* @param edid_length length of the edid structure * @param edid_length Length of the edid structure.
* @return EINA_TRUE, if the display is a digital one. Else EINA_FALSE. * @return @c EINA_TRUE, if the display is a digital one, @c EINA_FALSE
* otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_edid_display_type_digital_get(unsigned char *edid, ecore_x_randr_edid_display_type_digital_get(unsigned char *edid,
@ -3355,8 +3357,8 @@ ecore_x_region_picture_clip_set(Ecore_X_Region region,
* xfixes selection notification request. * xfixes selection notification request.
* *
* This lets you choose which selections you want to get notifications for. * This lets you choose which selections you want to get notifications for.
* @param selection the selection atom. * @param selection The selection atom.
* @return EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
* @since 1.1.0 * @since 1.1.0
*/ */
EAPI Eina_Bool EAPI Eina_Bool

View File

@ -414,7 +414,7 @@ ecore_x_ungrab(void)
* @param d3 The client message data item 4 * @param d3 The client message data item 4
* @param d4 The client message data item 5 * @param d4 The client message data item 5
* *
* @return EINA_TRUE on success EINA_FALSE otherwise. * @return @c EINA_TRUE on success @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_client_message32_send(Ecore_X_Window win, Ecore_X_Atom type, ecore_x_client_message32_send(Ecore_X_Window win, Ecore_X_Atom type,
@ -462,9 +462,9 @@ ecore_x_client_message32_send(Ecore_X_Window win, Ecore_X_Atom type,
* @param win The window the message is sent to. * @param win The window the message is sent to.
* @param type The client message type. * @param type The client message type.
* @param data Data to be sent. * @param data Data to be sent.
* @param len Number of data bytes, max 20. * @param len Number of data bytes, max @c 20.
* *
* @return EINA_TRUE on success EINA_FALSE otherwise. * @return @c EINA_TRUE on success @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom type, ecore_x_client_message8_send(Ecore_X_Window win, Ecore_X_Atom type,
@ -899,7 +899,7 @@ ecore_x_pointer_warp(Ecore_X_Window win, int x, int y)
* base + [(base * percent) / 100] * base + [(base * percent) / 100]
* where @c base is the bell's base volume as set by XChangeKeyboardControl(3). * where @c base is the bell's base volume as set by XChangeKeyboardControl(3).
* *
* @returns EINA_TRUE on success, EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_bell(int percent) ecore_x_bell(int percent)

View File

@ -69,7 +69,8 @@ _ecore_xcb_composite_finalize(void)
/** /**
* Return whether the Composite Extension is available * Return whether the Composite Extension is available
* *
* @return EINA_TRUE is the Composite Extension is available, EINA_FALSE if not * @return @c EINA_TRUE is the Composite Extension is available, @c EINA_FALSE
* if not.
* *
* @ingroup Ecore_X_Composite_Group * @ingroup Ecore_X_Composite_Group
*/ */

View File

@ -59,8 +59,8 @@ _ecore_xcb_dpms_finalize(void)
* @return @c EINA_TRUE if the DPMS extension is available, * @return @c EINA_TRUE if the DPMS extension is available,
* @c EINA_FALSE otherwise. * @c EINA_FALSE otherwise.
* *
* Return EINA_TRUE if the X server supports the DPMS Extension version 1.0, * Return @c EINA_TRUE if the X server supports the DPMS Extension version 1.0,
* EINA_FALSE otherwise. * @c EINA_FALSE otherwise.
* *
* @ingroup Ecore_X_DPMS_Group * @ingroup Ecore_X_DPMS_Group
*/ */
@ -194,10 +194,11 @@ ecore_x_dpms_timeouts_get(unsigned int *standby,
/** /**
* Sets the timeouts. The values are in unit of seconds. * Sets the timeouts. The values are in unit of seconds.
*
* @param standby Amount of time of inactivity before standby mode will be invoked. * @param standby Amount of time of inactivity before standby mode will be invoked.
* @param suspend Amount of time of inactivity before the screen is placed into suspend mode. * @param suspend Amount of time of inactivity before the screen is placed into suspend mode.
* @param off Amount of time of inactivity before the monitor is shut off. * @param off Amount of time of inactivity before the monitor is shut off.
* @return EINA_TRUE on success, EINA_FALSE on failure. * @return @c EINA_TRUE on success, @c EINA_FALSE on failure.
* @ingroup Ecore_X_DPMS_Group * @ingroup Ecore_X_DPMS_Group
*/ */
EAPI Eina_Bool EAPI Eina_Bool

View File

@ -227,8 +227,9 @@ _ecore_xcb_randr_root_to_screen(Ecore_X_Window root)
/* public functions */ /* public functions */
/* /*
* @brief query whether randr is available or not * @brief Query whether RandR is available or not.
* @return EINA_TRUE, if extension is available, else EINA_FALSE *
* @return @c EINA_TRUE if extension is available, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_query(void) ecore_x_randr_query(void)
@ -305,10 +306,13 @@ ecore_x_randr_screen_primary_output_orientation_get(Ecore_X_Window root)
} }
/* /*
* @brief sets a given screen's primary output's orientation * @brief Sets a given screen's primary output's orientation.
* @param root window which's screen's primary output will be queried *
* @param orientation orientation which should be set for the root window's screen primary output * @param root Window which's screen's primary output will be queried.
* @return EINA_TRUE if the primary output's orientation could be successfully altered * @param orientation Orientation which should be set for the root window's
* screen primary output.
* @return @c EINA_TRUE if the primary output's orientation could be
* successfully altered.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_screen_primary_output_orientation_set(Ecore_X_Window root, ecore_x_randr_screen_primary_output_orientation_set(Ecore_X_Window root,
@ -468,10 +472,14 @@ ecore_x_randr_screen_primary_output_current_size_get(Ecore_X_Window root,
} }
/* /*
* @brief sets a given screen's primary output size, but disables all other outputs at the same time * @brief Sets a given screen's primary output size, but disables all other
* @param root window which's primary output will be queried * outputs at the same time.
* @param size_index within the list of sizes reported as supported by the root window's screen primary output *
* @return EINA_TRUE on success, EINA_FALSE on failure due to e.g. invalid times * @param root Window which's primary output will be queried.
* @param size_index Within the list of sizes reported as supported by the root
* window's screen primary output.
* @return @c EINA_TRUE on success, @c EINA_FALSE on failure due to e.g.
* invalid times.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_screen_primary_output_size_set(Ecore_X_Window root, ecore_x_randr_screen_primary_output_size_set(Ecore_X_Window root,
@ -620,11 +628,12 @@ ecore_x_randr_screen_primary_output_refresh_rates_get(Ecore_X_Window root,
} }
/* /*
* @brief sets the current primary output's refresh rate * @brief Sets the current primary output's refresh rate.
* @param root window which's primary output will be queried *
* @param size_index referencing the size to be set * @param root Window which's primary output will be queried.
* @param rate the refresh rate to be set * @param size_index Referencing the size to be set.
* @return EINA_TRUE on success else EINA_FALSE * @param rate The refresh rate to be set.
* @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_screen_primary_output_refresh_rate_set(Ecore_X_Window root, ecore_x_randr_screen_primary_output_refresh_rate_set(Ecore_X_Window root,
@ -675,9 +684,10 @@ ecore_x_randr_screen_primary_output_refresh_rate_set(Ecore_X_Window
} }
/* /*
* @brief free detailed mode information. The pointer handed in will be set to * @brief Free detailed mode information. The pointer handed in will be set to
* NULL after freeing the memory. * @c NULL after freeing the memory.
* @param mode_info the mode information that should be freed *
* @param mode_info The mode information that should be freed.
*/ */
EAPI void EAPI void
ecore_x_randr_mode_info_free(Ecore_X_Randr_Mode_Info *mode_info) ecore_x_randr_mode_info_free(Ecore_X_Randr_Mode_Info *mode_info)
@ -936,12 +946,13 @@ ecore_x_randr_mode_size_get(Ecore_X_Window root,
} }
/** /**
* @brief gets the EDID information of an attached output if available. * @brief Gets the EDID information of an attached output if available.
* Note that this information is not to be compared using ordinary string * Note that this information is not to be compared using ordinary string
* comparison functions, since it includes 0-bytes. * comparison functions, since it includes 0-bytes.
* @param root window this information should be queried from *
* @param output the XID of the output * @param root Window this information should be queried from.
* @param length length of the byte-array. If @c NULL, request will fail. * @param output The XID of the output.
* @param length Length of the byte-array. If @c NULL, request will fail.
* @return EDID information of the output. * @return EDID information of the output.
*/ */
EAPI unsigned char * EAPI unsigned char *
@ -990,10 +1001,11 @@ ecore_x_randr_output_edid_get(Ecore_X_Window root,
} }
/** /**
* @brief gets the outputs which might be used simultaneously on the same CRTC. * @brief Gets the outputs which might be used simultaneously on the same CRTC.
* @param root window that this information should be queried for. *
* @param output the output which's clones we concern * @param root Window that this information should be queried for.
* @param num number of possible clones * @param output The output which's clones we concern.
* @param num Number of possible clones.
* @return The existing outputs, @c NULL otherwise. * @return The existing outputs, @c NULL otherwise.
*/ */
EAPI Ecore_X_Randr_Output * EAPI Ecore_X_Randr_Output *
@ -1180,24 +1192,26 @@ ecore_x_randr_output_size_mm_get(Ecore_X_Window root, Ecore_X_Randr_Output outpu
} }
/** /**
* @brief sets the demanded parameters for a given CRTC. Note that the CRTC is * @brief Sets the demanded parameters for a given CRTC. Note that the CRTC is
* auto enabled in it's preferred mode, when it was disabled before. * auto enabled in it's preferred mode, when it was disabled before.
* @param root the root window which's default display will be queried *
* @param crtc the CRTC which's configuration should be altered * @param root The root window which's default display will be queried.
* @param outputs an array of outputs, that should display this CRTC's content. * @param crtc The CRTC which's configuration should be altered.
* @param noutputs number of outputs in the array of outputs. * @param outputs An array of outputs, that should display this CRTC's content.
* If set to Ecore_X_Randr_Unset, current outputs and number of outputs will be used. * @param noutputs Number of outputs in the array of outputs. If set to
* If set to Ecore_X_Randr_None, CRTC will be disabled * Ecore_X_Randr_Unset, current outputs and number of outputs will be used. If
* @param x new x coordinate. If <0 (e.g. Ecore_X_Randr_Unset) the current x * set to Ecore_X_Randr_None, CRTC will be disabled.
* corrdinate will be assumed. * @param x New x coordinate. If <0 (e.g. Ecore_X_Randr_Unset) the current x
* @param y new y coordinate. If <0 (e.g. Ecore_X_Randr_Unset) the current y * coordinate will be assumed.
* corrdinate will be assumed. * @param y New y coordinate. If <0 (e.g. Ecore_X_Randr_Unset) the current y
* @param mode the new mode to be set. If Ecore_X_Randr_None is passed, the * coordinate will be assumed.
* CRTC will be disabled. If Ecore_X_Randr_Unset is passed, the current mode is assumed. * @param mode The new mode to be set. If Ecore_X_Randr_None is passed, the
* @param orientation the new orientation to be set. If Ecore_X_Randr_Unset is used, * CRTC will be disabled. If Ecore_X_Randr_Unset is passed, the current mode is
* the current mode is assumed. * assumed.
* @return EINA_TRUE if the configuration alteration was successful, else * @param orientation The new orientation to be set. If Ecore_X_Randr_Unset is
* EINA_FALSE * used, the current mode is assumed.
* @return @c EINA_TRUE if the configuration alteration was successful,
* @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_crtc_settings_set(Ecore_X_Window root, ecore_x_randr_crtc_settings_set(Ecore_X_Window root,
@ -1276,16 +1290,18 @@ ecore_x_randr_crtc_settings_set(Ecore_X_Window root,
} }
/** /**
* @brief sets a mode for a CRTC and the outputs attached to it * @brief Sets a mode for a CRTC and the outputs attached to it.
* @param root the window's screen to be queried *
* @param crtc the CRTC which shall be set * @param root The window's screen to be queried
* @param outputs array of outputs which have to be compatible with the mode. If * @param crtc The CRTC which shall be set
* NULL CRTC will be disabled. * @param outputs Array of outputs which have to be compatible with the mode. If
* @param noutputs number of outputs in array to be used. Use * @c NULL CRTC will be disabled.
* Ecore_X_Randr_Unset (or -1) to use currently used outputs. * @param num Number of outputs in array to be used. Use
* @param mode XID of the mode to be set. If set to 0 the CRTC will be disabled. * Ecore_X_Randr_Unset (or @c -1) to use currently used outputs.
* If set to -1 the call will fail. * @param mode XID of the mode to be set. If set to @c 0 the CRTC will be
* @return EINA_TRUE if mode setting was successful. Else EINA_FALSE * disabled. If set to @c -1 the call will fail.
* @return @c EINA_TRUE if mode setting was successful, @c EINA_FALSE
* otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_crtc_mode_set(Ecore_X_Window root, ecore_x_randr_crtc_mode_set(Ecore_X_Window root,
@ -1562,10 +1578,11 @@ ecore_x_randr_crtcs_get(Ecore_X_Window root,
/* /*
* @deprecated bad naming. Use ecore_x_randr_window_crtcs_get instead. * @deprecated bad naming. Use ecore_x_randr_window_crtcs_get instead.
* @brief get the CRTCs, which display a certain window * @brief Get the CRTCs, which display a certain window.
* @param window window the displaying CRTCs shall be found for *
* @param num the number of CRTCs displaying the window * @param window Window the displaying CRTCs shall be found for.
* @return array of CRTCs that display a certain window. NULL if no CRTCs * @param num The number of CRTCs displaying the window.
* @return Array of CRTCs that display a certain window. @c NULL if no CRTCs
* was found that displays the specified window. * was found that displays the specified window.
*/ */
EAPI Ecore_X_Randr_Crtc * EAPI Ecore_X_Randr_Crtc *
@ -1576,10 +1593,11 @@ ecore_x_randr_current_crtc_get(Ecore_X_Window window,
} }
/* /*
* @brief get the CRTCs, which display a certain window * @brief Get the CRTCs, which display a certain window.
* @param window window the displaying crtcs shall be found for *
* @param num the number of crtcs displaying the window * @param window Window the displaying crtcs shall be found for.
* @return array of crtcs that display a certain window. NULL if no crtcs * @param num The number of crtcs displaying the window.
* @return Array of crtcs that display a certain window. @c NULL if no crtcs
* was found that displays the specified window. * was found that displays the specified window.
* @since 1.2.0 * @since 1.2.0
*/ */
@ -1730,14 +1748,16 @@ ecore_x_randr_crtc_geometry_get(Ecore_X_Window root,
} }
/** /**
* @brief sets a CRTC relative to another one. * @brief Sets a CRTC relative to another one.
* @param crtc1 the CRTC to be positioned. *
* @param crtc2 the CRTC the position should be relative to * @param crtc1 The CRTC to be positioned.
* @param policy the relation between the crtcs * @param crtc2 The CRTC the position should be relative to.
* @param alignment in case CRTCs size differ, aligns CRTC1 accordingly at CRTC2's * @param policy The relation between the crtcs.
* borders * @param alignment In case CRTCs size differ, aligns CRTC1 accordingly at
* @return EINA_TRUE if crtc could be successfully positioned. EINA_FALSE if * CRTC2's borders.
* repositioning failed or if position of new crtc would be out of given screen's min/max bounds. * @return @c EINA_TRUE if crtc could be successfully positioned, @c EINA_FALSE
* if repositioning failed or if position of new crtc would be out of given
* screen's min/max bounds.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root, ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root,
@ -1888,12 +1908,16 @@ ecore_x_randr_crtc_pos_get(Ecore_X_Window root,
} }
/* /*
* @brief sets the position of given CRTC within root window's screen * @brief Sets the position of given CRTC within root window's screen.
* @param root the window's screen to be queried *
* @param crtc the CRTC which's position within the mentioned screen is to be altered * @param root The window's screen to be queried.
* @param x position on the x-axis (0 == left) of the screen. if x < 0 current value will be kept. * @param crtc The CRTC which's position within the mentioned screen is to be
* @param y position on the y-ayis (0 == top) of the screen. if y < 0, current value will be kept. * altered.
* @return EINA_TRUE if position could be successfully be altered. * @param x Position on the x-axis (0 == left) of the screen. if x < 0 current
* value will be kept.
* @param y Position on the y-ayis (0 == top) of the screen. if y < 0, current
* value will be kept.
* @return @c EINA_TRUE if position could be successfully be altered.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_crtc_pos_set(Ecore_X_Window root, ecore_x_randr_crtc_pos_set(Ecore_X_Window root,
@ -2031,13 +2055,16 @@ ecore_x_randr_crtc_refresh_rate_get(Ecore_X_Window root,
} }
/* /*
* @brief move given CRTCs belonging to the given root window's screen dx/dy pixels relative to their current position. The screen size will be automatically adjusted if necessary and possible. * @brief Move given CRTCs belonging to the given root window's screen dx/dy
* @param root window which's screen's resources are used * pixels relative to their current position. The screen size will be
* @param crtcs list of CRTCs to be moved * automatically adjusted if necessary and possible.
* @param ncrtc number of CRTCs in array *
* @param dx amount of pixels the CRTCs should be moved in x direction * @param root Window which's screen's resources are used.
* @param dy amount of pixels the CRTCs should be moved in y direction * @param crtcs List of CRTCs to be moved.
* @return EINA_TRUE if all crtcs could be moved successfully. * @param ncrtc Number of CRTCs in array.
* @param dx Amount of pixels the CRTCs should be moved in x direction.
* @param dy Amount of pixels the CRTCs should be moved in y direction.
* @return @c EINA_TRUE if all crtcs could be moved successfully.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_move_crtcs(Ecore_X_Window root, ecore_x_randr_move_crtcs(Ecore_X_Window root,
@ -2319,13 +2346,18 @@ ecore_x_randr_screen_current_size_get(Ecore_X_Window root,
} }
/* /*
* @param root window which's screen's size should be set. If invalid (e.g. NULL) no action is taken. * @param root Window which's screen's size should be set. If invalid (e.g.
* @param w width in px the screen should be set to. If out of valid boundaries, current value is assumed. * @c NULL) no action is taken.
* @param h height in px the screen should be set to. If out of valid boundaries, current value is assumed. * @param w Width in px the screen should be set to. If out of valid
* @param w_mm width in mm the screen should be set to. If 0, current aspect is assumed. * boundaries, current value is assumed.
* @param h_mm height in mm the screen should be set to. If 0, current aspect is assumed. * @param h Height in px the screen should be set to. If out of valid
* @return EINA_TRUE if request was successfully sent or screen is already in * boundaries, current value is assumed.
* requested size, EINA_FALSE if parameters are invalid * @param w_mm Width in mm the screen should be set to. If @c 0, current
* aspect is assumed.
* @param h_mm Height in mm the screen should be set to. If @c 0, current
* aspect is assumed.
* @return @c EINA_TRUE if request was successfully sent or screen is already
* in requested size, @c EINA_FALSE if parameters are invalid.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_screen_current_size_set(Ecore_X_Window root, ecore_x_randr_screen_current_size_set(Ecore_X_Window root,
@ -2376,11 +2408,12 @@ ecore_x_randr_screen_current_size_set(Ecore_X_Window root,
/* /*
* @deprecated bad naming. Use ecore_x_randr_window_outputs_get instead. * @deprecated bad naming. Use ecore_x_randr_window_outputs_get instead.
* @brief get the outputs, which display a certain window * @brief Get the outputs, which display a certain window.
* @param window window the displaying outputs shall be found for *
* @param num the number of outputs displaying the window * @param window Window the displaying outputs shall be found for.
* @return array of outputs that display a certain window. NULL if no outputs * @param num The number of outputs displaying the window.
* was found that displays the specified window. * @return Array of outputs that display a certain window. @c NULL if no
* outputs was found that displays the specified window.
*/ */
Ecore_X_Randr_Output * Ecore_X_Randr_Output *
@ -2391,11 +2424,12 @@ ecore_x_randr_current_output_get(Ecore_X_Window window,
} }
/* /*
* @brief get the outputs, which display a certain window * @brief Get the outputs, which display a certain window.
* @param window window the displaying outputs shall be found for *
* @param num the number of outputs displaying the window * @param window Window the displaying outputs shall be found for.
* @return array of outputs that display a certain window. NULL if no outputs * @param num The number of outputs displaying the window.
* was found that displays the specified window. * @return Array of outputs that display a certain window. @c NULL if no
* outputs was found that displays the specified window.
*/ */
EAPI Ecore_X_Randr_Output * EAPI Ecore_X_Randr_Output *
ecore_x_randr_window_outputs_get(Ecore_X_Window window, ecore_x_randr_window_outputs_get(Ecore_X_Window window,
@ -2550,11 +2584,12 @@ ecore_x_randr_output_backlight_level_get(Ecore_X_Window root,
} }
/* /*
* @brief set the backlight level of a given output * @brief Set the backlight level of a given output.
* @param root window which's screen should be queried *
* @param output that should be set * @param root Window which's screen should be queried.
* @param level for which the backlight should be set * @param output That should be set.
* @return EINA_TRUE in case of success * @param level For which the backlight should be set.
* @return @c EINA_TRUE in case of success.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_output_backlight_level_set(Ecore_X_Window root, ecore_x_randr_output_backlight_level_set(Ecore_X_Window root,
@ -2637,8 +2672,9 @@ ecore_x_randr_output_backlight_level_set(Ecore_X_Window root,
} }
/* /*
* @brief check if a backlight is available * @brief Check if a backlight is available.
* @return whether a blacklight is available *
* @return Whether a backlight is available.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_output_backlight_available(void) ecore_x_randr_output_backlight_available(void)
@ -2802,10 +2838,12 @@ _ecore_xcb_randr_output_validate(Ecore_X_Window root,
} }
/** /**
* @brief validates a CRTC for a given root window's screen. * @brief Validates a CRTC for a given root window's screen.
* @param root the window which's default display will be queried *
* @param crtc the CRTC to be validated. * @param root The window which's default display will be queried.
* @return in case it is found EINA_TRUE will be returned. Else EINA_FALSE is returned. * @param crtc The CRTC to be validated.
* @return In case it is found @c EINA_TRUE will be returned, else
* @c EINA_FALSE is returned.
*/ */
static Eina_Bool static Eina_Bool
_ecore_xcb_randr_crtc_validate(Ecore_X_Window root, _ecore_xcb_randr_crtc_validate(Ecore_X_Window root,

View File

@ -977,7 +977,7 @@ ecore_x_dpi_get(void)
* base + [(base * percent) / 100] * base + [(base * percent) / 100]
* where @c base is the bell's base volume as set by XChangeKeyboardControl(3). * where @c base is the bell's base volume as set by XChangeKeyboardControl(3).
* *
* @returns EINA_TRUE on success, EINA_FALSE otherwise. * @returns @c EINA_TRUE on success, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_bell(int percent) ecore_x_bell(int percent)
@ -1808,7 +1808,7 @@ ecore_x_window_key_ungrab(Ecore_X_Window win,
* @param d3 The client message data item 4 * @param d3 The client message data item 4
* @param d4 The client message data item 5 * @param d4 The client message data item 5
* *
* @return EINA_TRUE on success EINA_FALSE otherwise. * @return @c EINA_TRUE on success @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_client_message32_send(Ecore_X_Window win, ecore_x_client_message32_send(Ecore_X_Window win,
@ -1842,9 +1842,9 @@ ecore_x_client_message32_send(Ecore_X_Window win,
* @param win The window the message is sent to. * @param win The window the message is sent to.
* @param type The client message type. * @param type The client message type.
* @param data Data to be sent. * @param data Data to be sent.
* @param len Number of data bytes, max 20. * @param len Number of data bytes, max @c 20.
* *
* @return EINA_TRUE on success EINA_FALSE otherwise. * @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_client_message8_send(Ecore_X_Window win, ecore_x_client_message8_send(Ecore_X_Window win,

View File

@ -33,8 +33,9 @@ _ecore_x_gesture_init(void)
} }
/* /*
* @brief query whether gesture is available or not * @brief Query whether gesture is available or not.
* @return EINA_TRUE, if extension is available, else EINA_FALSE *
* @return @c EINA_TRUE, if extension is available, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_gesture_supported(void) ecore_x_gesture_supported(void)

View File

@ -53,8 +53,9 @@ _ecore_x_randr_init(void)
} }
/* /*
* @brief query whether randr is available or not * @brief Query whether randr is available or not.
* @return EINA_TRUE, if extension is available, else EINA_FALSE *
* @return @c EINA_TRUE, if extension is available, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_query(void) ecore_x_randr_query(void)
@ -63,8 +64,8 @@ ecore_x_randr_query(void)
} }
/* /*
* @return version of the RandRR extension supported by the server or, * @return version of the RandR extension supported by the server or, in case
* in case RandRR extension is not available, Ecore_X_Randr_Unset (=-1). * RandR extension is not available, Ecore_X_Randr_Unset (=-1).
* bit version information: 31 MAJOR 16 | 15 MINOR 0 * bit version information: 31 MAJOR 16 | 15 MINOR 0
*/ */
EAPI int EAPI int

View File

@ -69,10 +69,13 @@ ecore_x_randr_screen_primary_output_orientation_get(Ecore_X_Window root)
} }
/* /*
* @brief sets a given screen's primary output's orientation * @brief Sets a given screen's primary output's orientation.
* @param root window which's screen's primary output will be queried *
* @param orientation orientation which should be set for the root window's screen primary output * @param root Window which's screen's primary output will be queried.
* @return EINA_TRUE if the primary output's orientation could be successfully altered * @param orientation orientation which should be set for the root window's
* screen primary output.
* @return @c EINA_TRUE if the primary output's orientation could be
* successfully altered.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_screen_primary_output_orientation_set( ecore_x_randr_screen_primary_output_orientation_set(
@ -200,10 +203,14 @@ ecore_x_randr_screen_primary_output_current_size_get(Ecore_X_Window root,
} }
/* /*
* @brief sets a given screen's primary output size, but disables all other outputs at the same time * @brief Sets a given screen's primary output size, but disables all other
* @param root window which's primary output will be queried * outputs at the same time.
* @param size_index within the list of sizes reported as supported by the root window's screen primary output *
* @return EINA_TRUE on success, EINA_FALSE on failure due to e.g. invalid times * @param root Window which's primary output will be queried.
* @param size_index Within the list of sizes reported as supported by the root
* window's screen primary output.
* @return @c EINA_TRUE on success, @c EINA_FALSE on failure due to e.g.
* invalid times.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_screen_primary_output_size_set(Ecore_X_Window root, ecore_x_randr_screen_primary_output_size_set(Ecore_X_Window root,
@ -300,11 +307,12 @@ ecore_x_randr_screen_primary_output_refresh_rates_get(Ecore_X_Window root,
//>= 1.1 //>= 1.1
/* /*
* @brief sets the current primary output's refresh rate * @brief Sets the current primary output's refresh rate.
* @param root window which's primary output will be queried *
* @param size_index referencing the size to be set * @param root Window which's primary output will be queried.
* @param rate the refresh rate to be set * @param size_index Referencing the size to be set.
* @return EINA_TRUE on success else EINA_FALSE * @param rate The refresh rate to be set.
* @return @c EINA_TRUE on success, @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_screen_primary_output_refresh_rate_set( ecore_x_randr_screen_primary_output_refresh_rate_set(

View File

@ -43,10 +43,11 @@ extern int _randr_version;
#endif #endif
/** /**
* @brief enable event selection. This enables basic interaction with * @brief Enable event selection. This enables basic interaction with
* output/crtc events and requires RRandR >= 1.2. * output/crtc events and requires RandR >= 1.2.
* @param win select this window's properties for RandRR events *
* @param on enable/disable selecting * @param win Select this window's properties for RandR events.
* @param on Enable/disable selecting.
*/ */
EAPI void EAPI void
ecore_x_randr_events_select(Ecore_X_Window win, ecore_x_randr_events_select(Ecore_X_Window win,
@ -72,10 +73,12 @@ ecore_x_randr_events_select(Ecore_X_Window win,
} }
/** /**
* @brief validates a CRTC for a given root window's screen. * @brief Validates a CRTC for a given root window's screen.
* @param root the window which's default display will be queried *
* @param crtc the CRTC to be validated. * @param root The window which's default display will be queried.
* @return in case it is found EINA_TRUE will be returned. Else EINA_FALSE is returned. * @param crtc The CRTC to be validated.
* @return In case it is found, @c EINA_TRUE will be returned, @c EINA_FALSE
* otherwise.
*/ */
static inline Eina_Bool static inline Eina_Bool
_ecore_x_randr_crtc_validate(Ecore_X_Window root, _ecore_x_randr_crtc_validate(Ecore_X_Window root,
@ -244,13 +247,18 @@ ecore_x_randr_screen_size_range_get(Ecore_X_Window root,
} }
/* /*
* @param root window which's screen's size should be set. If invalid (e.g. NULL) no action is taken. * @param root Window which's screen's size should be set. If invalid (e.g.
* @param w width in px the screen should be set to. If out of valid boundaries, current value is assumed. * @c NULL) no action is taken.
* @param h height in px the screen should be set to. If out of valid boundaries, current value is assumed. * @param w Width in px the screen should be set to. If out of valid
* @param w_mm width in mm the screen should be set to. If 0, current aspect is assumed. * boundaries, current value is assumed.
* @param h_mm height in mm the screen should be set to. If 0, current aspect is assumed. * @param h Height in px the screen should be set to. If out of valid
* @return EINA_TRUE if request was successfully sent or screen is already in * boundaries, current value is assumed.
* requested size, EINA_FALSE if parameters are invalid * @param w_mm Width in mm the screen should be set to. If @c 0, current
* aspect is assumed.
* @param h_mm Height in mm the screen should be set to. If @c 0, current
* aspect is assumed.
* @return @c EINA_TRUE if request was successfully sent or screen is already
* in requested size, @c EINA_FALSE if parameters are invalid.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_screen_current_size_set(Ecore_X_Window root, ecore_x_randr_screen_current_size_set(Ecore_X_Window root,
@ -380,8 +388,9 @@ ecore_x_randr_modes_info_get(Ecore_X_Window root,
} }
/* /*
* @brief add a mode to a display * @brief Add a mode to a display.
* @param root window to which's screen's ressources are added *
* @param root Window to which's screen's ressources are added.
* @param mode_info * @param mode_info
* @return Ecore_X_Randr_Mode of the added mode. Ecore_X_Randr_None if mode * @return Ecore_X_Randr_Mode of the added mode. Ecore_X_Randr_None if mode
* adding failed. * adding failed.
@ -405,7 +414,8 @@ ecore_x_randr_mode_info_add(Ecore_X_Window root,
} }
/* /*
* @brief delete a mode from the display * @brief Delete a mode from the display.
*
* @param mode_info * @param mode_info
* @since 1.2.0 * @since 1.2.0
*/ */
@ -480,9 +490,10 @@ ecore_x_randr_mode_info_get(Ecore_X_Window root,
} }
/* /*
* @brief free detailed mode information. The pointer handed in will be set to * @brief Free detailed mode information. The pointer handed in will be set to
* NULL after freeing the memory. * @c NULL after freeing the memory.
* @param mode_info the mode information that should be freed *
* @param mode_info The mode information that should be freed.
*/ */
EAPI void EAPI void
ecore_x_randr_mode_info_free(Ecore_X_Randr_Mode_Info *mode_info) ecore_x_randr_mode_info_free(Ecore_X_Randr_Mode_Info *mode_info)
@ -501,10 +512,11 @@ ecore_x_randr_mode_info_free(Ecore_X_Randr_Mode_Info *mode_info)
} }
/* /*
* @brief get all known CRTCs related to a root window's screen * @brief Get all known CRTCs related to a root window's screen.
* @param root window which's screen's ressources are queried *
* @param num number of CRTCs returned * @param root Window which's screen's ressources are queried.
* @return CRTC IDs * @param num Number of CRTCs returned.
* @return CRTC IDs.
*/ */
EAPI Ecore_X_Randr_Crtc * EAPI Ecore_X_Randr_Crtc *
ecore_x_randr_crtcs_get(Ecore_X_Window root, ecore_x_randr_crtcs_get(Ecore_X_Window root,
@ -538,7 +550,7 @@ ecore_x_randr_crtcs_get(Ecore_X_Window root,
* @brief get the CRTCs, which display a certain window * @brief get the CRTCs, which display a certain window
* @param window window the displaying crtcs shall be found for * @param window window the displaying crtcs shall be found for
* @param num the number of crtcs displaying the window * @param num the number of crtcs displaying the window
* @return array of crtcs that display a certain window. NULL if no crtcs * @return Array of crtcs that display a certain window. @c NULL if no crtcs
* was found that displays the specified window. * was found that displays the specified window.
*/ */
EAPI Ecore_X_Randr_Crtc * EAPI Ecore_X_Randr_Crtc *
@ -552,7 +564,7 @@ ecore_x_randr_current_crtc_get(Ecore_X_Window window,
* @brief get the CRTCs, which display a certain window * @brief get the CRTCs, which display a certain window
* @param window window the displaying crtcs shall be found for * @param window window the displaying crtcs shall be found for
* @param num the number of crtcs displaying the window * @param num the number of crtcs displaying the window
* @return array of crtcs that display a certain window. NULL if no crtcs * @return Array of crtcs that display a certain window. @c NULL if no crtcs
* was found that displays the specified window. * was found that displays the specified window.
* @since 1.2.0 * @since 1.2.0
*/ */
@ -768,12 +780,16 @@ ecore_x_randr_crtc_geometry_get(Ecore_X_Window root,
} }
/* /*
* @brief sets the position of given CRTC within root window's screen * @brief Sets the position of given CRTC within root window's screen.
* @param root the window's screen to be queried *
* @param crtc the CRTC which's position within the mentioned screen is to be altered * @param root The window's screen to be queried.
* @param x position on the x-axis (0 == left) of the screen. if x < 0 current value will be kept. * @param crtc The CRTC which's position within the mentioned screen is to be
* @param y position on the y-ayis (0 == top) of the screen. if y < 0, current value will be kept. * altered.
* @return EINA_TRUE if position could be successfully be altered. * @param x Position on the x-axis (0 == left) of the screen. if x < 0 current
* value will be kept.
* @param y Position on the y-ayis (0 == top) of the screen. if y < 0, current
* value will be kept.
* @return @c EINA_TRUE if position could successfully be altered.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_crtc_pos_set(Ecore_X_Window root, ecore_x_randr_crtc_pos_set(Ecore_X_Window root,
@ -858,16 +874,18 @@ ecore_x_randr_crtc_mode_get(Ecore_X_Window root,
} }
/** /**
* @brief sets a mode for a CRTC and the outputs attached to it * @brief Sets a mode for a CRTC and the outputs attached to it.
* @param root the window's screen to be queried *
* @param crtc the CRTC which shall be set * @param root The window's screen to be queried.
* @param outputs array of outputs which have to be compatible with the mode. If * @param crtc The CRTC which shall be set.
* NULL CRTC will be disabled. * @param outputs Array of outputs which have to be compatible with the mode.
* @param noutputs number of outputs in array to be used. Use * If @c NULL, CRTC will be disabled.
* Ecore_X_Randr_Unset (or -1) to use currently used outputs. * @param noutputs Number of outputs in array to be used. Use
* @param mode XID of the mode to be set. If set to 0 the CRTC will be disabled. * Ecore_X_Randr_Unset (or @c -1) to use currently used outputs.
* If set to -1 the call will fail. * @param mode XID of the mode to be set. If set to @c 0 the CRTC will be
* @return EINA_TRUE if mode setting was successful. Else EINA_FALSE * disabled. If set to @c -1 the call will fail.
* @return @c EINA_TRUE if mode setting was successful, @c EINA_FALSE
* otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_crtc_mode_set(Ecore_X_Window root, ecore_x_randr_crtc_mode_set(Ecore_X_Window root,
@ -1097,24 +1115,26 @@ ecore_x_randr_crtc_clone_set(Ecore_X_Window root,
} }
/** /**
* @brief sets the demanded parameters for a given CRTC. Note that the CRTC is * @brief Sets the demanded parameters for a given CRTC. Note that the CRTC is
* auto enabled in it's preferred mode, when it was disabled before. * auto enabled in it's preferred mode, when it was disabled before.
* @param root the root window which's default display will be queried *
* @param crtc the CRTC which's configuration should be altered * @param root The root window which's default display will be queried.
* @param outputs an array of outputs, that should display this CRTC's content. * @param crtc The CRTC which's configuration should be altered.
* @param noutputs number of outputs in the array of outputs. * @param outputs An array of outputs, that should display this CRTC's content.
* If set to Ecore_X_Randr_Unset, current outputs and number of outputs will be used. * @param noutputs Number of outputs in the array of outputs. If set to
* If set to Ecore_X_Randr_None, CRTC will be disabled * Ecore_X_Randr_Unset, current outputs and number of outputs will be used.
* @param x new x coordinate. If <0 (e.g. Ecore_X_Randr_Unset) the current x * If set to Ecore_X_Randr_None, CRTC will be disabled.
* @param x New x coordinate. If <0 (e.g. Ecore_X_Randr_Unset) the current x
* corrdinate will be assumed. * corrdinate will be assumed.
* @param y new y coordinate. If <0 (e.g. Ecore_X_Randr_Unset) the current y * @param y New y coordinate. If <0 (e.g. Ecore_X_Randr_Unset) the current y
* corrdinate will be assumed. * corrdinate will be assumed.
* @param mode the new mode to be set. If Ecore_X_Randr_None is passed, the * @param mode The new mode to be set. If Ecore_X_Randr_None is passed, the
* CRTC will be disabled. If Ecore_X_Randr_Unset is passed, the current mode is assumed. * CRTC will be disabled. If Ecore_X_Randr_Unset is passed, the current mode is
* @param orientation the new orientation to be set. If Ecore_X_Randr_Unset is used, * assumed.
* the current mode is assumed. * @param orientation The new orientation to be set. If Ecore_X_Randr_Unset is
* @return EINA_TRUE if the configuration alteration was successful, else * used, the current mode is assumed.
* EINA_FALSE * @return @c EINA_TRUE if the configuration alteration was successful,
* @c EINA_FALSE otherwise.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_crtc_settings_set(Ecore_X_Window root, ecore_x_randr_crtc_settings_set(Ecore_X_Window root,
@ -1180,14 +1200,16 @@ ecore_x_randr_crtc_settings_set(Ecore_X_Window root,
} }
/** /**
* @brief sets a CRTC relative to another one. * @brief Sets a CRTC relative to another one.
* @param crtc_r1 the CRTC to be positioned. *
* @param crtc_r2 the CRTC the position should be relative to * @param crtc_r1 The CRTC to be positioned.
* @param policy the relation between the crtcs * @param crtc_r2 The CRTC the position should be relative to.
* @param alignment in case CRTCs size differ, aligns CRTC1 accordingly at CRTC2's * @param policy The relation between the crtcs.
* borders * @param alignment In case CRTCs size differ, aligns CRTC1 accordingly at
* @return EINA_TRUE if crtc could be successfully positioned. EINA_FALSE if * CRTC2's borders.
* repositioning failed or if position of new crtc would be out of given screen's min/max bounds. * @return @c EINA_TRUE if crtc could be successfully positioned, @c EINA_FALSE
* if repositioning failed or if position of new crtc would be out of given
* screen's min/max bounds.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root, ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root,
@ -1484,12 +1506,14 @@ ecore_x_randr_crtc_pos_relative_set(Ecore_X_Window root,
} }
/* /*
* @brief add given mode to given output * @brief Add given mode to given output.
* @param output the output the mode is added to *
* @param mode the mode added to the output * @param output The output the mode is added to.
* @return EINA_FALSE if output or mode equal Ecore_X_Randr_None, else EINA_TRUE * @param mode The mode added to the output.
* Additionally, if xcb backend is used, the success of the addition is reported * @return @c EINA_FALSE if output or mode equal Ecore_X_Randr_None, else
* back directly. * @c EINA_TRUE.
* Additionally, if xcb backend is used, the success of the addition is
* reported back directly.
* @since 1.2.0 * @since 1.2.0
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -1917,13 +1941,16 @@ ecore_x_randr_move_all_crtcs_but(Ecore_X_Window root,
} }
/* /*
* @brief move given CRTCs belonging to the given root window's screen dx/dy pixels relative to their current position. The screen size will be automatically adjusted if necessary and possible. * @brief Move given CRTCs belonging to the given root window's screen dx/dy
* @param root window which's screen's resources are used * pixels relative to their current position. The screen size will be
* @param crtcs list of CRTCs to be moved * automatically adjusted if necessary and possible.
* @param ncrtc number of CRTCs in array *
* @param dx amount of pixels the CRTCs should be moved in x direction * @param root Window which's screen's resources are used.
* @param dy amount of pixels the CRTCs should be moved in y direction * @param crtcs List of CRTCs to be moved.
* @return EINA_TRUE if all crtcs could be moved successfully. * @param ncrtc Number of CRTCs in array.
* @param dx Amount of pixels the CRTCs should be moved in x direction.
* @param dy Amount of pixels the CRTCs should be moved in y direction.
* @return @c EINA_TRUE if all crtcs could be moved successfully.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
ecore_x_randr_move_crtcs(Ecore_X_Window root, ecore_x_randr_move_crtcs(Ecore_X_Window root,
@ -2088,9 +2115,10 @@ ecore_x_randr_screen_reset(Ecore_X_Window root)
} }
/** /**
* @brief set up the backlight level to the given level. * @brief Set up the backlight level to the given level.
* @param root the window's screen which will be set. *
* @param level of the backlight between 0 and 1 * @param root The window's screen which will be set.
* @param level Of the backlight between @c 0 and @c 1.
*/ */
EAPI void EAPI void
@ -2137,8 +2165,8 @@ ecore_x_randr_screen_backlight_level_set(Ecore_X_Window root,
} }
/* /*
* @brief check if a backlight is available * @brief Check if a backlight is available.
* @return whether a blacklight is available * @return Whether a backlight is available.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -2157,10 +2185,11 @@ ecore_x_randr_output_backlight_available(void)
} }
/* /*
* @brief get the backlight level of the given output * @brief Get the backlight level of the given output.
* @param root window which's screen should be queried *
* @param output from which the backlight level should be retrieved * @param root Window which's screen should be queried.
* @return the backlight level * @param output From which the backlight level should be retrieved.
* @return The backlight level.
*/ */
EAPI double EAPI double
@ -2229,11 +2258,12 @@ ecore_x_randr_output_backlight_level_get(Ecore_X_Window root,
} }
/* /*
* @brief set the backlight level of a given output * @brief Set the backlight level of a given output.
* @param root window which's screen should be queried *
* @param output that should be set * @param root Window which's screen should be queried.
* @param level for which the backlight should be set * @param output That should be set.
* @return EINA_TRUE in case of success * @param level For which the backlight should be set.
* @return @c EINA_TRUE in case of success.
*/ */
EAPI Eina_Bool EAPI Eina_Bool
@ -2290,11 +2320,12 @@ ecore_x_randr_output_backlight_level_set(Ecore_X_Window root,
} }
/* /*
* @brief get the outputs, which display a certain window * @brief Get the outputs, which display a certain window.
* @param window window the displaying outputs shall be found for *
* @param num the number of outputs displaying the window * @param window Window the displaying outputs shall be found for
* @return array of outputs that display a certain window. NULL if no outputs * @param num The number of outputs displaying the window
* was found that displays the specified window. * @return Array of outputs that display a certain window. @c NULL if no
* outputs was found that displays the specified window.
*/ */
EAPI Ecore_X_Randr_Output * EAPI Ecore_X_Randr_Output *
@ -2344,11 +2375,12 @@ _ecore_x_randr_current_output_get_fail:
/* /*
* @deprecated bad naming. Use ecore_x_randr_window_outputs_get instead. * @deprecated bad naming. Use ecore_x_randr_window_outputs_get instead.
* @brief get the outputs, which display a certain window * @brief Get the outputs, which display a certain window.
* @param window window the displaying outputs shall be found for *
* @param num the number of outputs displaying the window * @param window Window the displaying outputs shall be found for.
* @return array of outputs that display a certain window. NULL if no outputs * @param num The number of outputs displaying the window.
* was found that displays the specified window. * @return Array of outputs that display a certain window. @c NULL if no
* outputs was found that displays the specified window.
*/ */
EAPI Ecore_X_Randr_Output * EAPI Ecore_X_Randr_Output *