+/** Sets a specific context attribute before calling SDL_CreateContext().
+ * @param attr
+ * @param value
+ * @return 0 if the attribute exists, -1 otherwise.
+ */
+extern DECLSPEC int SDLCALL SDL_GLES_SetAttribute(SDL_GLES_Attr attr, int value);
+
+/** Gets a context attribute from the current context, or from the wanted
+ * attribute set if no context is current.
+ * @param attr
+ * @param value pointer where the result will be stored.
+ * @return 0 if the attribute exists, -1 otherwise.
+ */
+extern DECLSPEC int SDLCALL SDL_GLES_GetAttribute(SDL_GLES_Attr attr, int *value);
+