Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 24 lines (18 sloc) 0.583 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
//
// helper_functions.h
// CleverModels
//
// Created by Bruno Martins on 3/27/12.
// Copyright (c) 2012. All rights reserved.
//

#ifndef CleverModels_helper_functions_h
#define CleverModels_helper_functions_h

#include <stdlib.h>

int str_pos(char c, char haystack[], int occurence);
int str_pos_reverse (char c, char haystack[], int start_pos, int occurence);
void str_to_lower(char str []);
char find_first_character(char haystack[]);
char* str_plural_to_singular(char str[]);
char* escape_single_quotes(char* json);

void preppend_to_file(const char *t, FILE *fp);

#endif
Something went wrong with that request. Please try again.