Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(625)

Side by Side Diff: third_party/google-endpoints/pyasn1_modules/rfc1901.py

Issue 2666783008: Add google-endpoints to third_party/. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #
2 # SNMPv2c message syntax
3 #
4 # ASN.1 source from:
5 # http://www.ietf.org/rfc/rfc1901.txt
6 #
7 from pyasn1.type import univ, namedtype, namedval
8
9 class Message(univ.Sequence):
10 componentType = namedtype.NamedTypes(
11 namedtype.NamedType('version', univ.Integer(namedValues = namedval.Named Values(('version-2c', 1)))),
12 namedtype.NamedType('community', univ.OctetString()),
13 namedtype.NamedType('data', univ.Any())
14 )
15
OLDNEW
« no previous file with comments | « third_party/google-endpoints/pyasn1_modules/rfc1157.py ('k') | third_party/google-endpoints/pyasn1_modules/rfc1902.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698