Project homepage Mailing List  Warmcat.com  API Docs  Github Mirror 
{"schema":"libjg2-1", "vpath":"/git/", "avatar":"/git/avatar/", "alang":"", "gen_ut":1760817190, "reponame":"libwebsockets", "desc":"libwebsockets lightweight C networking library", "owner": { "name": "Andy Green", "email": "andy@warmcat.com", "md5": "c50933ca2aa61e0fe2c43d46bb6b59cb" },"url":"https://libwebsockets.org/repo/libwebsockets", "f":3, "items": [ {"schema":"libjg2-1", "cid":"adc20fde95442613732c8ee50873703f", "oid":{ "oid": "6ff571f854a0181f041db687cd87c546cd4752f1", "alias": []},"blobname": "doc/latex/group__fops.tex", "blob": "\u005chypertarget{group__fops}{}\u005csection{file operation wrapping}\n\u005clabel{group__fops}\u005cindex{file operation wrapping@{file operation wrapping}}\n\u005csubsection*{Data Structures}\n\u005cbegin{DoxyCompactItemize}\n\u005citem \nstruct \u005chyperlink{structlws__plat__file__ops}{lws\u005c+\u005c_\u005c+plat\u005c+\u005c_\u005c+file\u005c+\u005c_\u005c+ops}\n\u005cend{DoxyCompactItemize}\n\u005csubsection*{Functions}\n\u005cbegin{DoxyCompactItemize}\n\u005citem \nL\u005c+W\u005c+S\u005c+\u005c_\u005c+\u005c+V\u005c+I\u005c+S\u005c+I\u005c+B\u005c+LE L\u005c+W\u005c+S\u005c+\u005c_\u005c+\u005c+E\u005c+X\u005c+T\u005c+E\u005c+RN struct \u005chyperlink{structlws__plat__file__ops}{lws\u005c+\u005c_\u005c+plat\u005c+\u005c_\u005c+file\u005c+\u005c_\u005c+ops} $\u005cast$L\u005c+W\u005c+S\u005c+\u005c_\u005c+\u005c+W\u005c+A\u005c+R\u005c+N\u005c+\u005c_\u005c+\u005c+U\u005c+N\u005c+U\u005c+S\u005c+E\u005c+D\u005c+\u005c_\u005c+\u005c+R\u005c+E\u005c+S\u005c+U\u005c+LT \u005chyperlink{group__fops_gac08aef64c4c34647ed699b24759b6b0e}{lws\u005c+\u005c_\u005c+get\u005c+\u005c_\u005c+fops} (struct lws\u005c+\u005c_\u005c+context $\u005cast$context)\n\u005cend{DoxyCompactItemize}\n\n\n\u005csubsection{Detailed Description}\n\u005csubsubsection*{File operation wrapping}\n\nUse these helper functions if you want to access a file from the perspective of a specific wsi, which is usually the case. If you just want contextless file access, use the fops callbacks directly with N\u005c+U\u005c+LL wsi instead of these helpers.\n\nIf so, then it calls the platform handler or user overrides where present (as defined in info-\u005c/$\u003e$fops)\n\nThe advantage from all this is user code can be portable for file operations without having to deal with differences between platforms. \n\n\u005csubsection{Function Documentation}\n\u005cindex{file operation wrapping@{file operation wrapping}!lws\u005c+\u005c_\u005c+get\u005c+\u005c_\u005c+fops@{lws\u005c+\u005c_\u005c+get\u005c+\u005c_\u005c+fops}}\n\u005cindex{lws\u005c+\u005c_\u005c+get\u005c+\u005c_\u005c+fops@{lws\u005c+\u005c_\u005c+get\u005c+\u005c_\u005c+fops}!file operation wrapping@{file operation wrapping}}\n\u005csubsubsection[{\u005ctexorpdfstring{lws\u005c+\u005c_\u005c+get\u005c+\u005c_\u005c+fops(struct lws\u005c+\u005c_\u005c+context $\u005cast$context)}{lws\u005c_get\u005c_fops(struct lws\u005c_context *context)}}]{\u005csetlength{\u005crightskip}{0pt plus 5cm}L\u005c+W\u005c+S\u005c+\u005c_\u005c+\u005c+V\u005c+I\u005c+S\u005c+I\u005c+B\u005c+LE L\u005c+W\u005c+S\u005c+\u005c_\u005c+\u005c+E\u005c+X\u005c+T\u005c+E\u005c+RN struct {\u005cbf lws\u005c+\u005c_\u005c+plat\u005c+\u005c_\u005c+file\u005c+\u005c_\u005c+ops}$\u005cast$ L\u005c+W\u005c+S\u005c+\u005c_\u005c+\u005c+W\u005c+A\u005c+R\u005c+N\u005c+\u005c_\u005c+\u005c+U\u005c+N\u005c+U\u005c+S\u005c+E\u005c+D\u005c+\u005c_\u005c+\u005c+R\u005c+E\u005c+S\u005c+U\u005c+LT lws\u005c+\u005c_\u005c+get\u005c+\u005c_\u005c+fops (\n\u005cbegin{DoxyParamCaption}\n\u005citem[{struct lws\u005c+\u005c_\u005c+context $\u005cast$}]{context}\n\u005cend{DoxyParamCaption}\n)}\u005chypertarget{group__fops_gac08aef64c4c34647ed699b24759b6b0e}{}\u005clabel{group__fops_gac08aef64c4c34647ed699b24759b6b0e}\n\n\n{\u005cttfamily \u005c#include $\u003c$\u005chyperlink{libwebsockets_8h}{lib/libwebsockets.\u005c+h}$\u003e$}\n\n\u005chyperlink{group__fops_gac08aef64c4c34647ed699b24759b6b0e}{lws\u005c+\u005c_\u005c+get\u005c+\u005c_\u005c+fops()} -\u005c/ get current file ops\n\n\n\u005cbegin{DoxyParams}{Parameters}\n{\u005cem context} \u0026 context \u005c\u005c\n\u005chline\n\u005cend{DoxyParams}\n","s":{"c":1760817190,"u": 441}} ],"g": 2150,"chitpc": 0,"ehitpc": 0,"indexed":0 , "ab": 1, "si": 0, "db":0, "di":0, "sat":0, "lfc": "0000"}