Shutdown: help the style leak printer out a bit.
[gnumeric.git] / plugins / fn-financial / sc-fin.h
blob69881b78e86ee6929888c8340cffb1771578b45d
1 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 #ifndef __SC_FIN_H__
3 #define __SC_FIN_H__
5 GnmValue *get_amordegrc (gnm_float fCost, GDate *nDate, GDate *nFirstPer,
6 gnm_float fRestVal, gint nPer, gnm_float fRate,
7 gint nBase);
8 GnmValue *get_amorlinc (gnm_float fCost, GDate *nDate, GDate *nFirstPer,
9 gnm_float fRestVal, gint nPer, gnm_float fRate,
10 gint nBase);
11 GnmValue *get_yieldmat (GDate *nSettle, GDate *nMat, GDate *nIssue,
12 gnm_float fRate, gnm_float fPrice, gint nBase);
13 GnmValue *get_duration (GDate *nSettle, GDate *nMat, gnm_float fCoup,
14 gnm_float fYield, gint nFreq, gint nBase,
15 gnm_float fNumOfCoups);
16 GnmValue *get_mduration (GDate *nSettle, GDate *nMat, gnm_float fCoup,
17 gnm_float fYield, gint nFreq, gint nBase,
18 gnm_float fNumOfCoups);
19 GnmValue *get_cumprinc (gnm_float fRate, gint nNumPeriods, gnm_float fVal,
20 gint nStartPer, gint nEndPer, gint nPayType);
21 GnmValue *get_cumipmt (gnm_float fRate, gint nNumPeriods, gnm_float fVal,
22 gint nStartPer, gint nEndPer, gint nPayType);
23 GnmValue *get_vdb (gnm_float cost, gnm_float salvage, gnm_float life,
24 gnm_float start_period, gnm_float end_period,
25 gnm_float factor, gboolean flag);
27 #endif