~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/packages/extra/users/shadow.pp

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
unit shadow;
 
2
interface
 
3
 
 
4
{
 
5
  Automatically converted by H2Pas 0.99.15 from shadow.h
 
6
  The following command line parameters were used:
 
7
    -D
 
8
    -l
 
9
    c
 
10
    -p
 
11
    -s
 
12
    -u
 
13
    shadow
 
14
    -v
 
15
    shadow.h
 
16
}
 
17
 
 
18
  const
 
19
    External_library='c'; {Setup as you need}
 
20
 
 
21
  { Pointers to basic pascal types, inserted by h2pas conversion program.}
 
22
  Type
 
23
    PLongint  = ^Longint;
 
24
    PSmallInt = ^SmallInt;
 
25
    PByte     = ^Byte;
 
26
    PWord     = ^Word;
 
27
    PDWord    = ^DWord;
 
28
    PDouble   = ^Double;
 
29
 
 
30
{$PACKRECORDS C}
 
31
 
 
32
 
 
33
type
 
34
   PFile = Pointer;
 
35
 
 
36
   Pspwd = ^spwd;
 
37
   spwd = record
 
38
        sp_namp : pchar;
 
39
        sp_pwdp : pchar;
 
40
        sp_lstchg : longint;
 
41
        sp_min : longint;
 
42
        sp_max : longint;
 
43
        sp_warn : longint;
 
44
        sp_inact : longint;
 
45
        sp_expire : longint;
 
46
        sp_flag : longint;
 
47
     end;
 
48
  TPasswordFileEntry = spwd;
 
49
  PPasswordFileEntry = ^TPasswordFileEntry;
 
50
 
 
51
procedure setspent;cdecl;external External_library name 'setspent';
 
52
procedure endspent;cdecl;external External_library name 'endspent';
 
53
function getspent:Pspwd;cdecl;external External_library name 'getspent';
 
54
function getspnam(__name:Pchar):Pspwd;cdecl;external External_library name 'getspnam';
 
55
function sgetspent(__string:Pchar):Pspwd;cdecl;external External_library name 'sgetspent';
 
56
function fgetspent(__stream:PFILE):Pspwd;cdecl;external External_library name 'fgetspent';
 
57
function putspent(__p:Pspwd; __stream:PFILE):longint;cdecl;external External_library name 'putspent';
 
58
function lckpwdf:longint;cdecl;external External_library name 'lckpwdf';
 
59
function ulckpwdf:longint;cdecl;external External_library name 'ulckpwdf';
 
60
 
 
61
 
 
62
implementation
 
63
 
 
64
 
 
65
end.