~ubuntu-branches/ubuntu/utopic/adios/utopic

« back to all changes in this revision

Viewing changes to src/nssi/adios_nssi_config.h

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2013-12-09 15:21:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20131209152131-jtd4fpmdv3xnunnm
Tags: 1.5.0-1
* New upstream.
* Standards-Version: 3.9.5
* Include latest config.{sub,guess} 
* New watch file.
* Create libadios-bin for binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * ADIOS is freely available under the terms of the BSD license described
 
3
 * in the COPYING file in the top level directory of this source distribution.
 
4
 *
 
5
 * Copyright (c) 2008 - 2009.  UT-BATTELLE, LLC. All rights reserved.
 
6
 */
 
7
 
 
8
#ifndef ADIOS_NSSI_CONFIG_H
 
9
#define ADIOS_NSSI_CONFIG_H
 
10
 
 
11
/**
 
12
 * @brief A structure to represent the configuration of
 
13
 * NSSI core services.
 
14
 */
 
15
struct adios_nssi_config {
 
16
 
 
17
    /** @brief Number of available storage servers */
 
18
    int num_servers;
 
19
 
 
20
    /** @brief storage service IDs */
 
21
    nssi_remote_pid *nssi_server_ids;
 
22
 
 
23
    /** @brief The type of write operation the client wishes the server to perform */
 
24
    enum write_type write_type;
 
25
};
 
26
 
 
27
 
 
28
int parse_nssi_config(const char *config_file, struct adios_nssi_config *config);
 
29
void free_nssi_config(struct adios_nssi_config *config);
 
30
 
 
31
#endif