File: sa_compare.h

package info (click to toggle)
cubemap 1.3.2-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 428 kB
  • sloc: cpp: 4,431; sh: 114; perl: 102; makefile: 60
file content (11 lines) | stat: -rw-r--r-- 270 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _SA_COMPARE_H
#define _SA_COMPARE_H

#include <netinet/in.h>

// A utility functor to help use sockaddr_in6 as keys in a map.
struct Sockaddr6Compare {
	bool operator() (const sockaddr_in6 &a, const sockaddr_in6 &b) const;
};

#endif  // !defined(_SA_COMPARE_H)