Skip to content

Commit 8b57353

Browse files
lavarouanmol-ap
authored andcommitted
make nr_php_csec_get_metadata easier to use
1 parent 1e5e379 commit 8b57353

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

agent/csec_metadata.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,6 @@ typedef struct _nr_php_csec_metadata_t {
3232
* -2 for invalid internal state
3333
*/
3434
extern int nr_php_csec_get_metadata(nr_php_csec_metadata_t*);
35+
typedef int (*nr_php_csec_get_metadata_t)(nr_php_csec_metadata_t*);
36+
#define NR_PHP_CSEC_GET_METADATA "nr_php_csec_get_metadata"
3537
#endif

0 commit comments

Comments
 (0)