Find Jobs
Hire Freelancers

Convert Python scrip to C Libary

$10-50 USD

Cancelled
Posted about 8 years ago

$10-50 USD

Paid on delivery
Attached to this Project description the entire Python script. The script is a command line utility which does a couple of network related functions on linux by executing some commands (lspci, etc) or writing a value to a file. It is interactive - user executes the script with command line arguments. What we are needing is not a program but a library. So: 1. This will be a library dropped into an exiting application 2. There is NO TEXT output needed for what we need - all that can be 100% deleted 3. The library shall work as follows: Instead of providing output to the screen, structs shall be created in its place and returned to the calling function. A global {errstruct} shall exist, so if an error occurs while executing a function the errstruct shall be populated with the error and returned. Any functions which output text not needed. Structs or array of structs in some cases is what is needed. These functions do not need to be converted: usage() check_output() display_devices() parse_args() do_arg_actions() This function needs to be changed to return a struct with 3 arrays of structs: show_status() - make this function return the 3 arrays instead of displaying them The candidate this is awarded to shall: 1. Maintain all code in a repository on GITHUB that we provide. (We have a private repository) 2. This should not take more than a few hours time to complete. 3. Project should include: a. codefile and header for the library b. a main function which initializes the library and executes some of the commands c. a Makefile d. Show compile on a Redhat/Fedora/CentOS (We use CentOS) system Prepared to reward the JOB Immediately to a qualified candidate who can get it done quickly.
Project ID: 9922154

About the project

3 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
Winter Springs, United States
5.0
4
Member since Jan 29, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.