X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=context.c;fp=context.c;h=133c37c168d6b04016579cbf3ccbd3938f11e241;hb=1063166ac2d706f8bbd325ecfd0580a0d1b04b21;hp=933e1ed03207ad2e533ae0b68a6000f924a73d1f;hpb=b0e640a505171550746af20e940076c579a0e638;p=fips diff --git a/context.c b/context.c index 933e1ed..133c37c 100644 --- a/context.c +++ b/context.c @@ -23,6 +23,15 @@ #include "metrics.h" #include "xmalloc.h" +typedef struct context +{ + /* Pointer to the system's context ID, (such as a GLXContext) */ + void *system_id; + + metrics_info_t metrics_info; + metrics_t *metrics; +} context_t; + context_t *current_context; static context_t *