summaryrefslogtreecommitdiffstats
path: root/Src/osmocom-bb/src/shared/libosmocore/include/osmocom/core/statistics.h
diff options
context:
space:
mode:
authorTom2011-08-16 13:04:21 +0200
committerTom2011-08-16 13:04:21 +0200
commit70205f515596a7185567283f32057c553dba2ca6 (patch)
treeee0b5c80fd20629064b74ab85f58e92ae820a730 /Src/osmocom-bb/src/shared/libosmocore/include/osmocom/core/statistics.h
parentneed to clean up git (diff)
downloadimsi-catcher-detection-70205f515596a7185567283f32057c553dba2ca6.tar.gz
imsi-catcher-detection-70205f515596a7185567283f32057c553dba2ca6.tar.xz
imsi-catcher-detection-70205f515596a7185567283f32057c553dba2ca6.zip
removed whole lib since compiled files were on index
Diffstat (limited to 'Src/osmocom-bb/src/shared/libosmocore/include/osmocom/core/statistics.h')
-rw-r--r--Src/osmocom-bb/src/shared/libosmocore/include/osmocom/core/statistics.h33
1 files changed, 0 insertions, 33 deletions
diff --git a/Src/osmocom-bb/src/shared/libosmocore/include/osmocom/core/statistics.h b/Src/osmocom-bb/src/shared/libosmocore/include/osmocom/core/statistics.h
deleted file mode 100644
index 1849327..0000000
--- a/Src/osmocom-bb/src/shared/libosmocore/include/osmocom/core/statistics.h
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef _STATISTICS_H
-#define _STATISTICS_H
-
-struct osmo_counter {
- struct llist_head list;
- const char *name;
- const char *description;
- unsigned long value;
-};
-
-static inline void osmo_counter_inc(struct osmo_counter *ctr)
-{
- ctr->value++;
-}
-
-static inline unsigned long osmo_counter_get(struct osmo_counter *ctr)
-{
- return ctr->value;
-}
-
-static inline void osmo_counter_reset(struct osmo_counter *ctr)
-{
- ctr->value = 0;
-}
-
-struct osmo_counter *osmo_counter_alloc(const char *name);
-void osmo_counter_free(struct osmo_counter *ctr);
-
-int osmo_counters_for_each(int (*handle_counter)(struct osmo_counter *, void *), void *data);
-
-struct osmo_counter *osmo_counter_get_by_name(const char *name);
-
-#endif /* _STATISTICS_H */