Global Lender
A Pebble app for finding new and interesting loans on kiva.org
Data Structures | Typedefs | Functions
KivaModel_Internal.h File Reference
#include <pebble.h>
#include "data/KivaModel.h"
#include "libs/uthash.h"
Include dependency graph for KivaModel_Internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  LenderInfo
 
struct  CountryRec
 
struct  LoanRec
 
struct  KivaModel
 

Typedefs

typedef struct CountryRec CountryRec
 
typedef struct LoanRec LoanRec
 

Functions

MagPebApp_ErrCode KivaModel_init (KivaModel *this, const char *)
 

Typedef Documentation

typedef struct CountryRec CountryRec
typedef struct LoanRec LoanRec

Function Documentation

MagPebApp_ErrCode KivaModel_init ( KivaModel this,
const char *  lenderId 
)

Internal initialization

Parameters
[in,out]thisPointer to KivaModel; must be already allocated
[in]lenderIdPointer to the lender ID C-string. Identifies the lender uniquely on kiva.org. Ownership is not transferred to this function, so the caller is still responsible for freeing this variable.