Motr  M0
m0_conf_service Struct Reference

#include <obj.h>

Collaboration diagram for m0_conf_service:
Collaboration graph

Data Fields

struct m0_conf_obj cs_obj
 
struct m0_conf_dircs_sdevs
 
enum m0_conf_service_type cs_type
 
const char ** cs_endpoints
 
const char ** cs_params
 

Detailed Description

Service configuration (within a process).

Definition at line 594 of file obj.h.

Field Documentation

◆ cs_endpoints

const char** cs_endpoints

Endpoints from which this service is reachable. (Several network interfaces ==> several endpoints.)

NULL-terminated array of C strings.

Definition at line 605 of file obj.h.

◆ cs_obj

struct m0_conf_obj cs_obj

Definition at line 595 of file obj.h.

◆ cs_params

const char** cs_params

Service parameters. NULL-terminated array of C strings. XXX

Todo:
Make it an array of name-value pairs (attributes).

Definition at line 611 of file obj.h.

◆ cs_sdevs

struct m0_conf_dir* cs_sdevs

Definition at line 596 of file obj.h.

◆ cs_type

enum m0_conf_service_type cs_type

Definition at line 598 of file obj.h.


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