~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/net/packetcounters.h

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
class PacketCounters final
29
29
{
30
30
public:
31
 
    static void incInBytes(int cnt);
 
31
    static void incInBytes(const int cnt);
32
32
 
33
33
    static void incInPackets();
34
34
 
36
36
 
37
37
    static int getInPackets() A_WARN_UNUSED;
38
38
 
39
 
    static void incOutBytes(int cnt);
 
39
    static void incOutBytes(const int cnt);
40
40
 
41
41
    static void incOutPackets();
42
42