GnuCash  5.6-150-g038405b370+
Data Structures
policy-p.h File Reference

Implement Accounting Policy Private header File. More...

#include "gnc-engine.h"
#include "policy.h"

Go to the source code of this file.

Data Structures

struct  GNCPolicy
 The Policy routines try to encapsulate the FIFO/LIFO-specific parts of the cap-gains routine, and can be replaced by something else for other policies. More...
 

Detailed Description

Implement Accounting Policy Private header File.

Author
Created by Linas Vepstas August 2003
Copyright (c) 2003 Linas Vepstas linas.nosp@m.@lin.nosp@m.as.or.nosp@m.g

This file implements Accounting Policy. The Accounting Policy determines how splits are assigned to lots. The default policy is the FIFO policy: the first thing bought is also the first thing sold.

Definition in file policy-p.h.