firefox ¼òµ¥ ²å¼þ±àÒë ¡¾linux¡¿
#ifdef XP_UNIX
/*
* Set up the plugin function table that Netscape will use to
* call us. Netscape needs to know about our version and size
* and have a UniversalProcPointer for every function we
* implement.
*/
pluginFuncs->version = (NP_VERSION_MAJOR << 8) + NP_VERSION_MINOR;
pluginFuncs->size = sizeof(NPPluginFuncs);
pluginFuncs->newp = NewNPP_NewProc(NPP_New);
pluginFuncs->destroy = NewNPP_DestroyProc(NPP_Destroy);
pluginFuncs->setwindow = NewNPP_SetWindowProc(NPP_SetWindow);
pluginFuncs->newstream = NewNPP_NewStreamProc(NPP_NewStream);
pluginFuncs->destroystream = NewNPP_DestroyStreamProc(NPP_DestroyStream);
pluginFuncs->asfile = NewNPP_StreamAsFileProc(NPP_StreamAsFile);
pluginFuncs->writeready = NewNPP_WriteReadyProc(NPP_WriteReady);
pluginFuncs->write = NewNPP_WriteProc(NPP_Write);
pluginFuncs->print = NewNPP_PrintProc(NPP_Print);
pluginFuncs->urlnotify = NewNPP_URLNotifyProc(NPP_URLNotify);
pluginFuncs->event = NULL;
pluginFuncs->getvalue = NewNPP_GetValueProc(NPP_GetValue);
#ifdef OJI
pluginFuncs->javaClass = NPP_GetJavaClass();
#endif
np_entry.cpp ÀïÃæµÄ¶ÎÀ¬»ø
ËÑË÷Õû¸öÔ´´úÂë¶¼ÕÒ²»µ½NewNPP_NewProc£¬NewNPP_DestroyProcµÈµÈ
pluginFuncs->newp = NewNPP_NewProc(NPP_New);
pluginFuncs->destroy = NewNPP_DestroyProc(NPP_Destroy);
pluginFuncs->setwindow = NewNPP_SetWindowProc(NPP_SetWindow);
pluginFuncs->newstream = NewNPP_NewStreamProc(NPP_NewStream);
pluginFuncs->destroystream = NewNPP_DestroyStreamProc(NPP_DestroyStream);
pluginFuncs->asfile = NewNPP_StreamAsFileProc(NPP_StreamAsFile);
pluginFuncs->writeready = NewNPP_WriteReadyProc(NPP_WriteReady);
pluginFuncs->write = NewNPP_WriteProc(NPP_Write);
pluginFuncs->print = NewNPP_PrintProc(NPP_Print);
pluginFuncs->urlnotify = NewNPP_URLNotifyProc(NPP_URLNotify);
pluginFuncs->event = NULL;
pluginFuncs->getvalue = NewNPP_
Ïà¹ØÎĵµ£º
ѧϰӦ¸ÃÊÇÒ»¸öÏȰÑÎÊÌâ¼òµ¥»¯£¬ÔÙ°ÑÎÊÌ⸴ÔÓ»¯µÄ¹ý³Ì¡£Ò»¿ªÊ¼¾Í×ÅÊÖ´¦Àí¸´ÔÓµÄÎÊÌ⣬ÄÑÃâÈÃÈËÓÐÐľªµ¨²ü£¬×½½ó¼ûÖâµÄ¸Ð¾õ¡£¶ÁLinuxÍø¿¨Çý¶¯ Ò²ÊÇÒ»Ñù¡£Ädz¤³¤µÄÔ´Âë¼ÐÔÓ×ÅÄÇЩÎÒÃÇİÉúµÄ±äÁ¿ºÍ·ûºÅ£¬Íû¶øÉúη±ãÊÇÀíËùµ±È»µÄÁË¡£²»Òªµ£ÐÄ£¬ÊÂÇé×ÜÓнâ¾öµÄ°ì·¨£¬ÏȰÑһЩÎÒÃǹܲ»×ŵĴúÂëÇиî³öÈ¥£¬ÁôϱØÐëµÄ²¿·Ö£¬°Ñ¿ò¼ÜÕÆ ......
×÷Õߣºhaohaoo
À´×Ô£ºCnLinux.net¹¤×÷±Ê¼Ç
×ªÔØÇë±£ÁôÒÔÉÏÐÅÏ¢£¬Ð»Ð»
ÔÚ·þÎñÆ÷ÉϰÑÓ²Å̽Ӻã¬Æô¶¯linux£¬ÒÔrootµÇ½¡£
±ÈÈçÎÒмÓÒ»¿éSCSIÓ²ÅÌ£¬ÐèÒª½«Æä·Ö³ÉÈý¸öÇø£º
#fdisk /dev/sdb
½øÈëfdiskģʽ£º
Command (m for help):p //²é¿´ÐÂÓ²Å̵ķÖÇø
Command (m for help):n //´´½¨Ð·ÖÇø
¿ÉÒÔÓÃmÃü ......
/*****************************************************************************************************
linux_m4v.c
gcc -o linux_m4v linux_m4v.c -lc -lm -lxvidcore
*******************************************************************************************************/
#include <string.h>
# ......
ÁÖÄÉ˹·ÍÐÍß×È
¡¡¡¡
ÁÖÄÉ˹·±¾ÄɵڿËÌØ·ÍÐÍß×È(Linus Benedict Torvalds, 1969Äê~ )£¬µ±½ñÊÀ½ç×îÖøÃûµÄµçÄÔ³ÌÐòÔ±£¨³Ìʽʦ£©¡¢ºÚ¿Í£¨º§¿Í£©¡£LinuxÄں˵ķ¢Ã÷È˼°¸Ã¼Æ»®µÄºÏ×÷Õß¡£ÍÐÍß×ÈÀûÓøöÈËʱ¼ä¼°Æ÷²Ä´´Ôì³öÁËÕâÌ×µ±½ñÈ«Çò×îÁ÷ÐеIJÙ×÷ϵͳ£¨×÷ҵϵͳ£©ÄÚºËÖ®Ò»¡£
¡¡¡¡ÍÐÍß×È1969Äê12ÔÂ28È ......
mount [-t vfstype] [-o options] device dir
¡¡¡¡ÆäÖУº
¡¡¡¡1.-t vfstype Ö¸¶¨ÎļþϵͳµÄÀàÐÍ£¬Í¨³£²»±ØÖ¸¶¨¡£mount »á×Ô¶¯Ñ¡ÔñÕýÈ·µÄÀàÐÍ¡£³£ÓÃÀàÐÍÓУº
¡¡¡¡¹âÅÌ»ò¹âÅ̾µÏñ£ºiso9660
¡¡¡¡DOS fat16Îļþϵͳ£ºmsdos
¡¡¡¡Windows 9x fat32Îļþϵͳ£ºvfat
¡¡¡¡Windows NT ntfsÎļþϵͳ£ºntfs
¡¡¡¡Mount WindowsÎļþ ......