~ubuntu-branches/ubuntu/precise/torque/precise-updates

« back to all changes in this revision

Viewing changes to src/include/csv.h

  • Committer: Bazaar Package Importer
  • Author(s): Dominique Belhachemi
  • Date: 2010-05-17 20:56:46 UTC
  • mto: This revision was merged to the branch mainline in revision 8.
  • Revision ID: james.westby@ubuntu.com-20100517205646-yjsoqs5r1s9xpnu9
Tags: upstream-2.4.8+dfsg
ImportĀ upstreamĀ versionĀ 2.4.8+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* Copyright 2008 Cluster Resources */
 
2
 
 
3
/* A small library of functions dealing with comma separated variable lists */
 
4
 
 
5
#ifndef _CSV_H_
 
6
#define _CSV_H_
 
7
 
 
8
extern int csv_length(char *csv_str);
 
9
extern char *csv_nth(char *csv_str, int n);
 
10
extern char *csv_find_string(char *csv_str, char *search_str);
 
11
extern char *csv_find_value(char *csv_str, char *search_str);
 
12
/* Note that csv_nth returns a pointer to a static buffer */
 
13
 
 
14
 
 
15
#endif
 
16
 
 
17