Data Structures | |
struct | svn_wc_notify_t |
Structure used in the svn_wc_notify_func2_t function. More... | |
Typedefs | |
typedef enum svn_wc_notify_action_t | svn_wc_notify_action_t |
The type of action occurring. | |
typedef enum svn_wc_notify_state_t | svn_wc_notify_state_t |
The type of notification that is occurring. | |
typedef enum svn_wc_notify_lock_state_t | svn_wc_notify_lock_state_t |
What happened to a lock during an operation. | |
typedef svn_wc_notify_t | svn_wc_notify_t |
Structure used in the svn_wc_notify_func2_t function. | |
typedef void(* | svn_wc_notify_func2_t )(void *baton, const svn_wc_notify_t *notify, apr_pool_t *pool) |
Notify the world that notify->action has happened to notify->path. | |
typedef void(* | svn_wc_notify_func_t )(void *baton, const char *path, svn_wc_notify_action_t action, svn_node_kind_t kind, const char *mime_type, svn_wc_notify_state_t content_state, svn_wc_notify_state_t prop_state, svn_revnum_t revision) |
Similar to svn_wc_notify_func2_t , but takes the information as arguments instead of struct fields. | |
Functions | |
svn_wc_notify_t * | svn_wc_create_notify (const char *path, svn_wc_notify_action_t action, apr_pool_t *pool) |
Allocate an svn_wc_notify_t structure in pool, initialize and return it. | |
svn_wc_notify_t * | svn_wc_dup_notify (const svn_wc_notify_t *notify, apr_pool_t *pool) |
Return a deep copy of notify, allocated in pool. |
These notifications have a standard callback function type, which takes the path of the file that was affected, and a caller- supplied baton.
Note that the callback is a 'void' return -- this is a simple reporting mechanism, rather than an opportunity for the caller to alter the operation of the WC library.
Note also that some of the actions are used across several different Subversion commands. For example, the update actions are also used for checkouts, switches, and merges.
|
Notify the world that notify->action has happened to notify->path.
Recommendation: callers of
|
|
Similar to
|
|
What happened to a lock during an operation.
|
|
Structure used in the
If
If
For an
Note that if
|
|
Allocate an
Set the
|
|
Return a deep copy of notify, allocated in pool.
|