Changeset 2510
- Timestamp:
- 09/02/07 18:05:22 (1 year ago)
- Files:
-
- trunk/opensync/ipc/opensync_queue.c (modified) (2 diffs)
- trunk/opensync/ipc/opensync_queue.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/opensync/ipc/opensync_queue.c
r2368 r2510 953 953 } 954 954 955 /*! @brief Get the path of the fifo for the Queue 956 * 957 * Get the full path of the fifo for this Queue if fifos used. 958 * 959 * @param queue The queue to get the file descriptor 960 * @returns The full path of the fifo or NULL if no fifos used 961 * 962 */ 955 963 const char *osync_queue_get_path(OSyncQueue *queue) 956 964 { … … 958 966 return queue->name; 959 967 } 968 969 /*! @brief Get the pipe file descriptor of the Queue 970 * 971 * Get the pipe file descriptor of this Queue if pipes are used. 972 * 973 * @param queue The queue to get the file descriptor 974 * @returns The pipe file descriptor of the queue or -1 if no pipes used or set 975 * 976 */ 977 int osync_queue_get_fd(OSyncQueue *queue) 978 { 979 osync_assert(queue); 980 return queue->fd; 981 } trunk/opensync/ipc/opensync_queue.h
r1845 r2510 47 47 OSyncMessage *osync_queue_get_message(OSyncQueue *queue); 48 48 const char *osync_queue_get_path(OSyncQueue *queue); 49 int osync_queue_get_fd(OSyncQueue *queue); 49 50 50 51 osync_bool osync_queue_is_alive(OSyncQueue *queue);
