administrativa
[m6w6/ext-psi] / src / types / impl_type.h
index e1197e7fa6afd05c90e11bbcd5766bbbe9300318..7c5a6fe50c6cde4b49a86352f64f5dd1b06d7ff2 100644 (file)
 
 #include "token.h"
 
-typedef struct impl_type {
-       char *name;
+struct psi_impl_type {
+       struct psi_token *token;
+       zend_string *name;
        token_t type;
-} impl_type;
+};
 
-impl_type *init_impl_type(token_t type, const char *name);
-void free_impl_type(impl_type *type);
+struct psi_impl_type *psi_impl_type_init(token_t type, zend_string *name);
+void psi_impl_type_free(struct psi_impl_type **type_ptr);
+void psi_impl_type_dump(int fd, struct psi_impl_type *type);
 
 #endif