Skip to content

Commit

Permalink
Merge pull request collectd#22 from abays/connectivity-sim
Browse files Browse the repository at this point in the history
Make ignorelist_t public
  • Loading branch information
abays committed Apr 19, 2018
2 parents f3bfe39 + 9cbca78 commit f80ae4d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/utils_ignorelist.c
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,6 @@
/*
* private prototypes
*/
struct ignorelist_item_s {
#if HAVE_REGEX_H
regex_t *rmatch; /* regular expression entry identification */
#endif
char *smatch; /* string entry identification */
struct ignorelist_item_s *next;
};
typedef struct ignorelist_item_s ignorelist_item_t;

struct ignorelist_s {
int ignore; /* ignore entries */
ignorelist_item_t *head; /* pointer to the first entry */
};

/* *** *** *** ********************************************* *** *** *** */
/* *** *** *** *** *** *** private functions *** *** *** *** *** *** */
Expand Down
14 changes: 14 additions & 0 deletions src/utils_ignorelist.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@
struct ignorelist_s;
typedef struct ignorelist_s ignorelist_t;

struct ignorelist_item_s {
#if HAVE_REGEX_H
regex_t *rmatch; /* regular expression entry identification */
#endif
char *smatch; /* string entry identification */
struct ignorelist_item_s *next;
};
typedef struct ignorelist_item_s ignorelist_item_t;

struct ignorelist_s {
int ignore; /* ignore entries */
ignorelist_item_t *head; /* pointer to the first entry */
};

/*
* create the ignorelist_t with known ignore state
* return pointer to ignorelist_t
Expand Down

0 comments on commit f80ae4d

Please sign in to comment.