Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  pol_stats.h

  Sprache: C
 

#ifndef _POL_STATS_H_INCLUDED_
#define _POL_STATS_H_INCLUDED_

/*++
/* NAME
/* tls_stats 3h
/* SUMMARY
/* manage TLS per-feature policy compliance status
/* SYNOPSIS
/* #include <pol_stats.h>
/* DESCRIPTION
/* .nf

 /*
  * Utility library.
  */

#include <vstring.h>

 /*
  * External interface.
  */

typedef struct POL_STAT {
    const char *init_name;  /* Human-readable feature name */
    const char *final_name;  /* Human-readable feature name */
    int     status;   /* See below */
} POL_STAT;

#define POL_STAT_INACTIVE 0 /* No data */
#define POL_STAT_UNDECIDED 1 /* Pending decision */
#define POL_STAT_VIOLATION 2 /* Definitely did not meet policy */
#define POL_STAT_COMPLIANT 3 /* Definitely did meet policy */

 /*
  * Wrap it in a structure for sanity-checked access.
  */

#define POL_STATS_SIZE 2  /* TLS level and REQUIRETLS */

typedef struct POL_STATS {
    int     used;
    POL_STAT st[POL_STATS_SIZE];
} POL_STATS;

#ifdef USE_TLS

extern POL_STATS *pol_stats_create(void);
extern void pol_stats_revert(POL_STATS *);
extern void pol_stats_free(POL_STATS *);

#define pol_stats_used(t) ((t)->used)
extern void pol_stat_activate(POL_STATS *, intconst char *);
extern void pol_stat_decide(POL_STATS *, intconst char *, int);
extern void pol_stats_format(VSTRING *, const POL_STATS *);

#endif     /* USE_TLS */

#define NO_TLS_STATS ((POL_STATS *) 0)

/* LICENSE
/* .ad
/* .fi
/* The Secure Mailer license must be distributed with this software.
/* AUTHOR(S)
/* Wietse Venema
/* porcupine.org
/*--*/


#endif     /* _POL_STATS_H_INCLUDED_ */

Messung V0.5 in Prozent
C=69 H=95 G=82

¤ Dauer der Verarbeitung: 0.12 Sekunden  (vorverarbeitet am  2026-08-08) ¤

*© 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