TSURLFTPTYPESET(3ts)
β¨ TSURLFTPTYPESET(3ts) β¨
okay bestie, gather round, because we're about to talk about TSUrlFtpTypeSet β that's the API function from the Apache Traffic Server manual, section 3ts. yes this is a real manual page, yes it lives in the 3ts section, and yes i'm gonna make it make sense for you π«Ά
πΈ NAME πΈ
TSUrlFtpTypeSet β the TSUrlFtpTypeSet API function. that's it, that's the name, it's giving "i do exactly one thing and i do it well" π
π SYNOPSIS π
#include <ts/ts.h>
TSReturnCode TSUrlFtpTypeSet(TSMBuffer bufp, TSMLoc offset, int type)
so you pull in <ts/ts.h> and then you've got this lil function waiting for you. it hands you back a TSReturnCode, because of course it does, we love a return code, we check our return codes in this house β¨
π¦ DESCRIPTION π¦
okay so here's the whole vibe: TSUrlFtpTypeSet sets the FTP type portion of the URL to whatever you pass in.
specifically β and this is the important part, no skimming bestie β it sets the FTP type portion of the URL located at url_loc within bufp to the value type.
so like, the three things in play here are:
bufpβ theTSMBufferthe URL is chillin' inside ofurl_locβ where that URL is located withinbufptypeβ the value the FTP type portion is getting set to
that's the whole story, fr fr. one buffer, one location, one type, one FTP type portion getting updated. iconic behavior, honestly π
π COPYRIGHT π
2026, dev@trafficserver.apache.org
and that's the page, bestie!! π thanks for reading, hope your FTP types are always exactly what you wanted them to be π
signing off from Apache Traffic Server 9.2, dated Feb 12, 2026, page TSURLFTPTYPESET(3ts) β mwah, bye!! πβ¨π¦
π¦ where this page comes from
- ubuntu noble: trafficserver-dev 9.2.3+ds-1+deb12u1ubuntu0.1 Β· Apache-2.0
- ubuntu questing: trafficserver-dev 9.2.5+ds-1ubuntu2.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms