diff options
Diffstat (limited to 'src/context.h')
-rw-r--r-- | src/context.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/context.h b/src/context.h index 472b8beb..63af1d10 100644 --- a/src/context.h +++ b/src/context.h @@ -45,7 +45,7 @@ typedef enum struct ctx_op_data { /* The next element in the linked list, or NULL if this is the last - element. */ + element. Used by op data structures linked into a context. */ struct ctx_op_data *next; /* The type of the hook data, which can be used by a routine to @@ -58,6 +58,9 @@ struct ctx_op_data /* The hook that points to the operation data. */ void *hook; + + /* The number of outstanding references. */ + int references; }; typedef struct ctx_op_data *ctx_op_data_t; |