Logo Search packages:      
Sourcecode: sbrsh version File versions  Download package

config.h

/*
 * Copyright (c) 2003, 2004 Nokia
 * Author: Timo Savola <tsavola@movial.fi>
 *
 * This program is licensed under GPL (see COPYING for details)
 */

#ifndef CONFIG_H
#define CONFIG_H

#include "types.h"

/** Holds the info parsed from the client's config file. */
00014 typedef struct {
      char *target;
      char *host;
      char *port;
      char **opts;
} config_t;

config_t *config_alloc(void);
void config_free(config_t *);
bool_t config_read(config_t *cfg, const char *file, const char *target);

char **get_targets(const char *filename);

#endif

Generated by  Doxygen 1.6.0   Back to index