亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? nfslib.c

?? Tornado平臺下
?? C
?? 第 1 頁 / 共 5 頁
字號:
** RETURNS:  OK | ERROR*/LOCAL STATUS nfsClientCall    (    char *      host,           /* server's host name */    u_int       prognum,        /* RPC program number */    u_int       versnum,        /* RPC version number */    u_int       procnum,        /* RPC procedure number */    xdrproc_t   inproc,         /* xdr routine for args */    char *      in,    xdrproc_t   outproc,        /* xdr routine for results */    char *      out    )    {    nfstime		tottimeout;    enum clnt_stat	clientStat;    FAST NFS_MODULE_STATICS *ms;    if (nfsInit () != OK)	return (ERROR);     ms = taskRpcStatics->nfsClientCache;    /* get an appropriate client in the cache */    if (nfsClientCacheSetUp (ms, host, prognum, versnum) != OK)	return (ERROR);    /* set time to allow results to come back */    tottimeout.seconds  = nfsTimeoutSec;    tottimeout.useconds = nfsTimeoutUSec;    clientStat = clnt_call (ms->client, procnum, inproc, in, outproc, out,			    tottimeout);    if (clientStat != RPC_SUCCESS)	{	/* XXX this should be more gracefull */	nfsClientCacheCleanUp (ms);	rpcClntErrnoSet (clientStat);	return (ERROR);	}    return (OK);    }/********************************************************************************* nfsClientClose - close the NFS client socket and associated structures** NOMANUAL*/void nfsClientClose (void)    {    if (taskRpcStatics != NULL)	nfsClientCacheCleanUp (taskRpcStatics->nfsClientCache);    }/********************************************************************************* nfsMountListPrint - prints a list of mount entries*/LOCAL void nfsMountListPrint    (    FAST mountlist pMountList    )    {    while (pMountList)	{	printf ("%s:%s\n", pMountList->ml_hostname, pMountList->ml_directory);	pMountList = pMountList->ml_next;	}    }/********************************************************************************* nfsGroupsPrint - print a list of groups*/LOCAL void nfsGroupsPrint    (    FAST groups pGroup    )    {    while (pGroup != NULL)	{	printf ("%s ", pGroup->gr_name);	pGroup = pGroup->gr_next;	}    }/********************************************************************************* nfsExportPrint - prints a list of exported file systems on a host*/LOCAL void nfsExportPrint    (    FAST exports pExport    )    {    while (pExport != NULL)	{	printf ("%-25s ", pExport->ex_dir);	nfsGroupsPrint (pExport->ex_groups);	printf ("\n");	pExport = pExport->ex_next;	}    }/********************************************************************************* nfsErrnoSet - set NFS status** nfsErrnoSet calls errnoSet with the given "nfs stat" or'd with the* NFS status prefix.*/LOCAL void nfsErrnoSet    (    enum nfsstat status    )    {    errnoSet (M_nfsStat | (int) status);    }/********************************************************************************* nfsAuthUnixPrompt - modify the NFS UNIX authentication parameters** This routine allows* UNIX authentication parameters to be changed from the shell.* The user is prompted for each parameter, which can be changed* by entering the new value next to the current one.** EXAMPLE* .CS*    -> nfsAuthUnixPrompt*    machine name:   yuba*    user ID:        2001 128*    group ID:       100*    num of groups:  1 3*    group #1:        100 100*    group #2:        0 120*    group #3:        0 200*    value = 3 = 0x3* .CE** SEE ALSO: nfsAuthUnixShow(), nfsAuthUnixSet(), nfsAuthUnixGet(), nfsIdSet()*/void nfsAuthUnixPrompt (void)    {    char machname [AUTH_UNIX_FIELD_LEN];/* host name where client is */    int uid;				/* client's UNIX effective uid */    int gid;				/* client's current group ID */    int len;				/* element length of aup_gids */    int aup_gids [MAX_GRPS];		/* array of groups user is in */    int ix;    nfsAuthUnixGet (machname, &uid, &gid, &len, aup_gids);    promptParamString ("machine name:  ", machname, sizeof (machname));    promptParamNum ("user ID:       ", &uid, 8, "%d ");    promptParamNum ("group ID:      ", &gid, 8, "%d ");    promptParamNum ("num of groups: ", &len, 8, "%d ");    for (ix = 0; ix < len; ix++)	{	printf ("group #%d:       ", ix + 1);	promptParamNum ("", &aup_gids [ix], 8, "%d ");	}    nfsAuthUnixSet (machname, uid, gid, len, aup_gids);    }/********************************************************************************* nfsAuthUnixShow - display the NFS UNIX authentication parameters** This routine displays the parameters set by nfsAuthUnixSet() or* nfsAuthUnixPrompt().** EXAMPLE:* .CS*    -> nfsAuthUnixShow*    machine name = yuba*    user ID      = 2001*    group ID     = 100*    group [0]    = 100*    value = 1 = 0x1* .CE** RETURNS: N/A** SEE ALSO: nfsAuthUnixPrompt(), nfsAuthUnixSet(), nfsAuthUnixGet(), nfsIdSet()*/void nfsAuthUnixShow (void)    {    char machname [AUTH_UNIX_FIELD_LEN]; /* host name where client is */    int uid;				/* client's UNIX effective uid */    int gid;				/* client's current group ID */    int len;				/* element length of aup_gids */    int aup_gids [MAX_GRPS];		/* array of groups user is in */    int ix;    nfsAuthUnixGet (machname, &uid, &gid, &len, aup_gids);    printf ("machine name = %s\n", machname);    printf ("user ID      = %d\n", uid);    printf ("group ID     = %d\n", gid);    for (ix = 0; ix < len; ix++)	printf ("group [%d]    = %d\n", ix, aup_gids [ix]);    }/********************************************************************************* nfsAuthUnixSet - set the NFS UNIX authentication parameters** This routine sets UNIX authentication parameters.* It is initially called by usrNetInit().* `machname' should be set with the name of the mounted system (i.e. the target* name itself) to distinguish hosts from hosts on a NFS network.** RETURNS: N/A** SEE ALSO: nfsAuthUnixPrompt(), nfsAuthUnixShow(), nfsAuthUnixGet(), * nfsIdSet()* * **/void nfsAuthUnixSet    (    char *machname,     /* host machine        */    int uid,            /* user ID             */    int gid,            /* group ID            */    int ngids,          /* number of group IDs */    int *aup_gids       /* array of group IDs  */    )    {    int ix;    taskLock ();    (void) strcpy (nfsAuthUnix.machname, machname);    nfsAuthUnix.uid = uid;    nfsAuthUnix.gid = gid;    nfsAuthUnix.len = (ngids < MAX_GRPS ? ngids : MAX_GRPS);    for (ix = 0; ix < ngids; ix++)	nfsAuthUnix.aup_gids [ix] = aup_gids [ix];    /* Cached client authentications are out of date now.     * Bump auth count so clients will be rebuilt with new auth,     * next time the client transport is used.     */    nfsAuthCount++;    taskUnlock ();    }/********************************************************************************* nfsAuthUnixGet - get the NFS UNIX authentication parameters** This routine gets the previously set UNIX authentication values.** RETURNS: N/A** SEE ALSO: nfsAuthUnixPrompt(), nfsAuthUnixShow(), nfsAuthUnixSet(), * nfsIdSet()*/void nfsAuthUnixGet    (    char *machname,     /* where to store host machine        */    int *pUid,          /* where to store user ID             */    int *pGid,          /* where to store group ID            */    int *pNgids,        /* where to store number of group IDs */    int *gids           /* where to store array of group IDs  */    )    {    int ix;    (void) strcpy (machname, nfsAuthUnix.machname);    *pUid   = nfsAuthUnix.uid;    *pGid   = nfsAuthUnix.gid;    *pNgids = nfsAuthUnix.len;    for (ix = 0; ix < nfsAuthUnix.len; ix++)	gids [ix] = nfsAuthUnix.aup_gids [ix];    }/********************************************************************************* nfsIdSet - set the ID number of the NFS UNIX authentication parameters** This routine sets only the UNIX authentication user ID number.* For most NFS permission needs, only the user ID needs to be changed.* Set <uid> to the user ID on the NFS server.** RETURNS: N/A** SEE ALSO: nfsAuthUnixPrompt(), nfsAuthUnixShow(), nfsAuthUnixSet(),* nfsAuthUnixGet()* */void nfsIdSet    (    int uid             /* user ID on host machine */    )    {    taskLock ();    nfsAuthUnix.uid = uid;    /* Cached client authentications are out of date now.     * Bump auth count so clients will be rebuilt with new auth,     * next time the client transport is used.     */    nfsAuthCount++;    taskUnlock ();    }/********************************************************************************* printClear - print string with '?' for unprintable characters*/LOCAL void printClear    (    FAST char *param    )    {    FAST char ch;    while ((ch = *(param++)) != EOS)	printf ("%c", (isascii ((UINT)ch) && isprint ((UINT)ch)) ? ch : '?');    }/********************************************************************************* promptParamString - prompt the user for a string parameter** - carriage return leaves the parameter unmodified;* - "." clears the parameter (null string).*/LOCAL void promptParamString    (    char *msg,    char *param,    int fieldWidth    )    {    int ix;    char buf [100];    FOREVER	{	printf ("%s ", msg);	printClear (param);	printf (" ");	ix = fioRdString (STD_IN, buf, sizeof (buf));	if (ix < fieldWidth)	    break;	printf ("too big - maximum field width = %d.\n", fieldWidth);	}    if (ix == 1)	return;			/* just CR; leave field unchanged */    if (buf[0] == '.')	{	param [0] = EOS;	/* just '.'; make empty field */	return;	}    (void) strcpy (param, buf);	/* update parameter */    }/********************************************************************************* promptParamNum - prompt the user for a parameter** - carriage return leaves the parameter unmodified;* - "." clears the parameter (0).*/LOCAL void promptParamNum    (    char *msg,    int *pParam,    int fieldWidth,    char *format    )    {    int ix;    char buf [100];    FOREVER	{	(void) strcpy (buf, "%s ");	(void) strcat (buf, format);	printf (buf, msg, *pParam);	ix = fioRdString (STD_IN, buf, sizeof (buf));	if (ix < fieldWidth)	    break;	printf ("too big - maximum field width = %d.\n", fieldWidth);	}    if (ix == 1)	return;			/* just CR; leave field unchanged */    if (buf[0] == '.')	{	pParam = 0;		/* just '.'; make empty field */	return;	}    (void) sscanf (buf, format, pParam);	/* scan field */    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产区一区| 91麻豆精品国产| 成人黄色软件下载| 精品一区二区三区不卡| 日韩国产成人精品| 麻豆精品一二三| 精品一区二区在线视频| 国产在线视频不卡二| 国产精品白丝jk白祙喷水网站| 精品在线你懂的| 高清视频一区二区| 99久久99久久精品免费看蜜桃| 91亚洲精品一区二区乱码| 91在线观看高清| 欧美怡红院视频| 91精品国产综合久久久久久久 | 国产一区二区不卡| 国产传媒一区在线| av午夜一区麻豆| 色婷婷综合久久久久中文| 欧美日韩成人综合天天影院| 精品国产伦理网| 国产精品久久久一本精品| 亚洲人123区| 日韩黄色小视频| 国产一区二区成人久久免费影院| a4yy欧美一区二区三区| 欧美日韩精品欧美日韩精品一| 日韩一区二区电影在线| 国产女人水真多18毛片18精品视频| 国产精品女主播在线观看| 亚洲另类在线一区| 日韩va亚洲va欧美va久久| 国产麻豆精品久久一二三| 97久久超碰国产精品| 欧美日韩电影在线| 欧美成人在线直播| 综合精品久久久| 日韩成人精品在线| av不卡一区二区三区| 欧美一级久久久| 国产精品久久久久久久久免费相片| 亚洲已满18点击进入久久| 精品亚洲porn| 色婷婷狠狠综合| 精品国产一区二区三区四区四| 国产精品成人免费精品自在线观看| 亚洲午夜精品久久久久久久久| 久久精品72免费观看| 一本一本大道香蕉久在线精品| 欧美一级二级三级蜜桃| 中文字幕在线视频一区| 首页国产欧美日韩丝袜| 成人深夜福利app| 日韩视频在线你懂得| 亚洲欧美综合色| 韩国成人在线视频| 欧美色大人视频| 国产精品三级电影| 毛片av一区二区| 在线观看不卡一区| 欧美国产精品一区二区三区| 午夜精品影院在线观看| 成人看片黄a免费看在线| 91麻豆精品国产91久久久久久 | 波多野结衣亚洲| 日韩欧美激情在线| 亚洲一区视频在线| av动漫一区二区| 久久久久国产精品人| 蜜臀av一级做a爰片久久| 欧洲一区二区三区在线| 国产精品欧美综合在线| 国产一区二区三区在线看麻豆| 欧美伦理影视网| 亚洲欧美日韩国产手机在线| 国产成人午夜精品5599| 欧美电影免费观看高清完整版在线 | 成人激情文学综合网| 日韩欧美综合在线| 亚洲成av人在线观看| 色美美综合视频| 中文字幕人成不卡一区| 国产91丝袜在线观看| 久久综合给合久久狠狠狠97色69| 日本 国产 欧美色综合| 欧美精品777| 亚洲成人动漫精品| 欧美在线你懂得| 亚洲免费伊人电影| 99麻豆久久久国产精品免费优播| 国产欧美一区二区精品仙草咪| 极品少妇一区二区三区精品视频| 91精品午夜视频| 天堂午夜影视日韩欧美一区二区| 欧美在线你懂的| 亚洲高清免费在线| 欧美色网一区二区| 亚洲综合激情网| 欧美在线你懂得| 午夜精品福利在线| 欧美酷刑日本凌虐凌虐| 五月婷婷色综合| 9191成人精品久久| 日韩主播视频在线| 欧美高清性hdvideosex| 日本一道高清亚洲日美韩| 欧美一区二区三区日韩视频| 日本成人中文字幕| 精品久久久久久久久久久久久久久久久 | 成人精品鲁一区一区二区| 欧美国产精品一区二区| 97超碰欧美中文字幕| 亚洲精品免费在线| 精品视频123区在线观看| 视频一区二区不卡| 欧美成人一区二区三区| 国产69精品久久久久毛片| 综合激情成人伊人| 欧美日韩欧美一区二区| 男人的天堂久久精品| 久久综合网色—综合色88| 国产精品一区二区三区网站| 国产精品欧美综合在线| 在线视频你懂得一区| 日韩精彩视频在线观看| 精品福利av导航| 成人h精品动漫一区二区三区| 亚洲欧美日韩国产综合在线| 在线观看91精品国产麻豆| 久久国产精品色| 国产精品久久久久影院老司| 在线视频中文字幕一区二区| 美女视频黄免费的久久| 午夜欧美视频在线观看| 91精品国产综合久久蜜臀| 国产精品一级在线| 亚洲激情男女视频| 日韩午夜av一区| 成人av在线资源网| 亚洲成人综合网站| 久久久久久久免费视频了| 91美女片黄在线观看| 男女男精品视频| 国产精品国产三级国产普通话蜜臀| 欧美性猛交一区二区三区精品 | 欧美一卡2卡3卡4卡| 国产福利91精品一区| 亚洲综合丁香婷婷六月香| 久久―日本道色综合久久| 色综合久久六月婷婷中文字幕| 五月天欧美精品| 国产精品久久二区二区| 欧美精品在线一区二区| 丰满少妇久久久久久久| 午夜天堂影视香蕉久久| 日本一区二区三区国色天香| 欧美精品在线观看一区二区| 丰满白嫩尤物一区二区| 视频在线观看国产精品| 中文字幕在线观看一区| 精品区一区二区| 欧美午夜一区二区| 成人午夜在线视频| 青青青爽久久午夜综合久久午夜| 国产精品白丝在线| 26uuuu精品一区二区| 欧美区一区二区三区| 波多野结衣在线一区| 黄页视频在线91| 日韩在线观看一区二区| 日韩一区日韩二区| 久久这里只有精品6| 欧美高清www午色夜在线视频| a亚洲天堂av| 国产·精品毛片| 激情综合网av| 爽好久久久欧美精品| 亚洲一区二区免费视频| 中文字幕一区免费在线观看| 久久综合色8888| 日韩欧美一级片| 欧美日韩国产综合一区二区| 91免费观看视频| 成人av免费在线播放| 国产精品一区久久久久| 韩国精品免费视频| 久久激情五月婷婷| 日韩激情av在线| 日韩精品每日更新| 亚洲国产成人va在线观看天堂| 亚洲同性gay激情无套| 中文字幕欧美日韩一区| 久久综合久久久久88| 欧美电影免费观看高清完整版| 欧美一区二区三区免费大片| 欧美日韩国产一区二区三区地区| 91精品福利在线| www.激情成人| 97aⅴ精品视频一二三区|