~ubuntu-branches/ubuntu/lucid/fpc/lucid-proposed

« back to all changes in this revision

Viewing changes to fpcsrc/packages/libc/src/nif_shaperh.inc

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-10-09 23:29:00 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20081009232900-553f61m37jkp6upv
Tags: 2.2.2-4
[ Torsten Werner ]
* Update ABI version in fpc-depends automatically.
* Remove empty directories from binary package fpc-source.

[ Mazen Neifer ]
* Removed leading path when calling update-alternatives to remove a Linitian
  error.
* Fixed clean target.
* Improved description of packages. (Closes: #498882)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
const
 
3
   SHAPER_QLEN = 10;
 
4
   SHAPER_LATENCY = 5 * HZ;
 
5
   SHAPER_MAXSLIP = 2;
 
6
   SHAPER_BURST = HZ / 50;
 
7
   SHAPER_SET_DEV = $0001;
 
8
   SHAPER_SET_SPEED = $0002;
 
9
   SHAPER_GET_DEV = $0003;
 
10
   SHAPER_GET_SPEED = $0004;
 
11
 
 
12
type
 
13
  Pshaperconf = ^shaperconf;
 
14
  shaperconf_u = record
 
15
    case Integer of
 
16
      0: (ssu_name: packed array[0..14-1] of Char);
 
17
      1: (ssu_speed: u_int32_t);
 
18
  end;
 
19
 
 
20
  shaperconf =  record
 
21
    ss_cmd: u_int16_t;
 
22
    ss_u: shaperconf_u;
 
23
  end;
 
24
 
 
25
 
 
26
{ ---------------------------------------------------------------------
 
27
    Borland compatibility types
 
28
  ---------------------------------------------------------------------}
 
29
 
 
30
// Type