Eine aufbereitete Darstellung der Quelle

 
     
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 

Benutzer

Quelle  conf.h

  Sprache: C
 

/* PipeWire */
/* SPDX-FileCopyrightText: Copyright © 2021 Wim Taymans */
/* SPDX-License-Identifier: MIT */

#ifndef PIPEWIRE_CONF_H
#define PIPEWIRE_CONF_H

#include <spa/utils/json-core.h>

#include <pipewire/context.h>

/** \defgroup pw_conf Configuration
 * Loading/saving properties from/to configuration files.
 */


/**
 * \addtogroup pw_conf
 * \{
 */


int pw_conf_load_conf_for_context(struct pw_properties *props, struct pw_properties *conf);
int pw_conf_load_conf(const char *prefix, const char *name, struct pw_properties *conf);
int pw_conf_load_state(const char *prefix, const char *name, struct pw_properties *conf);
int pw_conf_save_state(const char *prefix, const char *name, const struct pw_properties *conf);

bool pw_conf_find_match(struct spa_json *arr, const struct spa_dict *props, bool condition);

int pw_conf_section_update_props(const struct spa_dict *conf,
  const char *section, struct pw_properties *props);

int pw_conf_section_update_props_rules(const struct spa_dict *conf,
  const struct spa_dict *context, const char *section,
  struct pw_properties *props);

int pw_conf_section_for_each(const struct spa_dict *conf, const char *section,
  int (*callback) (void *data, const char *location, const char *section,
   const char *str, size_t len),
  void *data);

int pw_conf_match_rules(const char *str, size_t len, const char *location,
  const struct spa_dict *props,
  int (*callback) (void *data, const char *location, const char *action,
   const char *str, size_t len),
  void *data);

int pw_conf_section_match_rules(const struct spa_dict *conf, const char *section,
  const struct spa_dict *props,
  int (*callback) (void *data, const char *location, const char *action,
   const char *str, size_t len),
  void *data);
/**
 * \}
 */


#endif /* PIPEWIRE_CONF_H */

Messung V0.5 in Prozent
C=94 H=88 G=90

¤ Dauer der Verarbeitung: 0.3 Sekunden  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=141584
#Domains=752002