~ubuntu-branches/ubuntu/trusty/ceph/trusty-updates

« back to all changes in this revision

Viewing changes to src/erasure-code/jerasure/gf-complete/include/gf_method.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-04-09 11:14:03 UTC
  • mfrom: (1.1.33)
  • Revision ID: package-import@ubuntu.com-20140409111403-jlql95pa8kg1nk9a
Tags: 0.79-0ubuntu1
* New upstream release (LP: #1278466):
  - d/p/modules.patch: Refreshed.
  - d/ceph.install: Install all jerasure modules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * GF-Complete: A Comprehensive Open Source Library for Galois Field Arithmetic
 
3
 * James S. Plank, Ethan L. Miller, Kevin M. Greenan,
 
4
 * Benjamin A. Arnold, John A. Burnum, Adam W. Disney, Allen C. McBride.
 
5
 *
 
6
 * gf_method.h
 
7
 *
 
8
 * Parses argv to figure out the flags and arguments.  Creates the gf.
 
9
 */
 
10
 
 
11
#pragma once
 
12
 
 
13
#include "gf_complete.h"
 
14
 
 
15
/* Parses argv starting at "starting".  
 
16
   
 
17
   Returns 0 on failure.
 
18
   On success, it returns one past the last argument it read in argv. */
 
19
 
 
20
extern int create_gf_from_argv(gf_t *gf, int w, int argc, char **argv, int starting);