Path: blob/main/crypto/krb5/src/include/iprop_hdr.h
34889 views
/* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */1/*2* Copyright 2004 Sun Microsystems, Inc. All rights reserved.3* Use is subject to license terms.4*/567#ifndef _IPROP_HDR_H8#define _IPROP_HDR_H910/* #pragma ident "@(#)iprop_hdr.h 1.1 04/02/20 SMI" */1112#ifdef __cplusplus13extern "C" {14#endif1516/*17* This file has some defines common to the iprop client and18* server routines.19*/2021/*22* Maximum size for each ulog entry is 2KB and maximum23* possible attribute-value pairs for each ulog entry is 2024*/25#define MAXENTRY_SIZE 204826#define MAXATTRS_SIZE 202728#define KIPROP_SVC_NAME "kiprop"29#define MAX_BACKOFF 300 /* Backoff for a maximum for 5 mts */3031enum iprop_role {32IPROP_NULL = 0,33IPROP_PRIMARY = 1,34IPROP_REPLICA = 235};36typedef enum iprop_role iprop_role;3738/*39* Full resync dump versioning40*/41#define IPROPX_VERSION_0 042#define IPROPX_VERSION_1 143#define IPROPX_VERSION IPROPX_VERSION_14445#ifdef __cplusplus46}47#endif4849#endif /* !_IPROP_HDR_H */505152