Grassroots Infrastructure
The Grassroots Infrastructure is a suite of computing tools to help users and developers use scientific data infrastructure that can easily be interconnected.
ServiceData Struct Reference

A datatype for holding the configuration data for a Service. More...

#include <service.h>

Inheritance diagram for ServiceData:
[legend]
Collaboration diagram for ServiceData:
[legend]

Data Fields

struct Servicesd_service_p
 The service that owns this data. More...
 
json_t * sd_config_p
 If this service has an entry in global server config it will be stored here. More...
 
bool sd_config_flag
 If this is true, then this ServiceData will decrease the reference count on sd_config_p when this ServiceData is freed. More...
 

Detailed Description

A datatype for holding the configuration data for a Service.

This is normally used as a base class.

Field Documentation

◆ sd_service_p

struct Service* sd_service_p

The service that owns this data.

◆ sd_config_p

json_t* sd_config_p

If this service has an entry in global server config it will be stored here.

The value in the service config will be "services" -> <service_name>

◆ sd_config_flag

bool sd_config_flag

If this is true, then this ServiceData will decrease the reference count on sd_config_p when this ServiceData is freed.


The documentation for this struct was generated from the following file: