Blame source/uds/zone.h

Packit b55c50
/*
Packit b55c50
 * Copyright (c) 2020 Red Hat, Inc.
Packit b55c50
 *
Packit b55c50
 * This program is free software; you can redistribute it and/or
Packit b55c50
 * modify it under the terms of the GNU General Public License
Packit b55c50
 * as published by the Free Software Foundation; either version 2
Packit b55c50
 * of the License, or (at your option) any later version.
Packit b55c50
 * 
Packit b55c50
 * This program is distributed in the hope that it will be useful,
Packit b55c50
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit b55c50
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit b55c50
 * GNU General Public License for more details.
Packit b55c50
 * 
Packit b55c50
 * You should have received a copy of the GNU General Public License
Packit b55c50
 * along with this program; if not, write to the Free Software
Packit b55c50
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
Packit b55c50
 * 02110-1301, USA. 
Packit b55c50
 *
Packit b55c50
 * $Id: //eng/uds-releases/jasper/src/uds/zone.h#2 $
Packit b55c50
 */
Packit b55c50
Packit b55c50
#ifndef ZONE_H
Packit b55c50
#define ZONE_H
Packit b55c50
Packit b55c50
#include "uds.h"
Packit b55c50
Packit b55c50
enum {
Packit b55c50
  MAX_ZONES = 16,
Packit b55c50
};
Packit b55c50
Packit b55c50
/**
Packit b55c50
 * Return the number of zones.
Packit b55c50
 *
Packit b55c50
 * @param userParams  the index session parameters.  If NULL, the default
Packit b55c50
 *                    session parameters will be used.
Packit b55c50
 *
Packit b55c50
 * @return the number of zones
Packit b55c50
 **/
Packit b55c50
unsigned int getZoneCount(const struct uds_parameters *userParams)
Packit b55c50
  __attribute__((warn_unused_result));
Packit b55c50
Packit b55c50
#endif /* ZONE_H */