1# coding: utf-8
2"""zmq constants"""
3
4from ._cffi import C, c_constant_names
5from zmq.utils.constant_names import all_names
6
7g = globals()
8for cname in c_constant_names:
9    if cname.startswith("ZMQ_"):
10        name = cname[4:]
11    else:
12        name = cname
13    g[name] = getattr(C, cname)
14
15__all__ = all_names
16