]> git.vpit.fr Git - perl/modules/Sub-Op.git/blobdiff - sub_op.h
Add a "flags" parameter to sub_op_register()
[perl/modules/Sub-Op.git] / sub_op.h
index 77c899fcc4ac71c2a1fec859d86cf93a0ef6233d..5dbb320b3618aa8f31e660076cd114ebe3b7eeb5 100644 (file)
--- a/sub_op.h
+++ b/sub_op.h
@@ -14,6 +14,9 @@ typedef struct {
  void          *ud;
 } sub_op_config_t;
 
-void sub_op_register(pTHX_ const sub_op_config_t *c);
+void             sub_op_init    (sub_op_config_t *c);
+void             sub_op_register(pTHX_ const sub_op_config_t *c, U32 flags);
+sub_op_config_t *sub_op_dup     (pTHX_ const sub_op_config_t *c);
+void             sub_op_free    (pTHX_ sub_op_config_t *c);
 
 #endif /* SUB_OP_H */