Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mdhelp: add automatic service checking table doc
  • Loading branch information
Mark Clarkstone authored and perexg committed May 27, 2016
1 parent 71de7f2 commit 2d22aa3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/property/servicechecking.md
@@ -0,0 +1,7 @@
:

Option | Description
------------------------------|------------
**Auto check enabled** | Enable automatic service checking.
**Auto check disabled** | Disable automatic service checking.
**Missing In PAT/SDT** | The service is no longer available on this mux.
3 changes: 3 additions & 0 deletions src/service.c
Expand Up @@ -161,6 +161,8 @@ service_type_auto_list ( void *o, const char *lang )
return strtab2htsmsg(tab, 1, lang);
}

PROP_DOC(servicechecking)

const idclass_t service_class = {
.ic_class = "service",
.ic_caption = N_("Service"),
Expand All @@ -185,6 +187,7 @@ const idclass_t service_class = {
.desc = N_("Check for the services' presence. If the service is no "
"longer broadcast this field will change to "
"Missing In PAT/SDT."),
.doc = prop_doc_servicechecking,
.list = service_class_auto_list,
.off = offsetof(service_t, s_auto),
.opts = PO_ADVANCED | PO_DOC_NLIST,
Expand Down

0 comments on commit 2d22aa3

Please sign in to comment.